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:
Alan Davis
2020-04-12 11:43:56 +01:00
parent c1b14fb592
commit 8d441c9688

View File

@@ -85,7 +85,7 @@ public abstract class ConfigScheduler<Data>
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;