final ClusterSingleton clusterSingleton = ClusterSingleton.get(context.getSystem());
// start the initial sync behavior that switches to the regular one after syncing
ownerSupervisor = clusterSingleton.init(SingletonActor.of(
MockSyncer.create(currentCandidates, currentOwners), "OwnerSupervisor"));
final ClusterSingleton clusterSingleton = ClusterSingleton.get(context.getSystem());
// start the initial sync behavior that switches to the regular one after syncing
ownerSupervisor = clusterSingleton.init(SingletonActor.of(
MockSyncer.create(currentCandidates, currentOwners), "OwnerSupervisor"));