mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Add client @id to ConfigScheduler jobs for the case where there are multiple instances of a given class (sometimes in tests). (#235)
(cherry picked from commit 92bd1741c4
)
This commit is contained in:
@@ -85,7 +85,7 @@ public abstract class ConfigScheduler<Data>
|
|||||||
|
|
||||||
public ConfigScheduler(Object client)
|
public ConfigScheduler(Object client)
|
||||||
{
|
{
|
||||||
jobName = client.getClass().getName()+"Job";
|
jobName = client.getClass().getName()+"Job@"+Integer.toHexString(System.identityHashCode(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract boolean readConfig() throws IOException;
|
public abstract boolean readConfig() throws IOException;
|
||||||
|
Reference in New Issue
Block a user