public interface InstanceIdGenerator
An InstanceIdGenerator is responsible for generating the clusterwide unique
instance id for a Scheduler
node.
This interface may be of use to those wishing to have specific control over
the mechanism by which the Scheduler
instances in their
application are named.
SimpleInstanceIdGenerator
Modifier and Type | Method and Description |
---|---|
String |
generateInstanceId()
Generate the instance id for a
Scheduler |
String generateInstanceId() throws SchedulerException
Scheduler
SchedulerException
Copyright 2001-2019, Terracotta, Inc.