T
- the type of master context used to create masters@ThreadSafe public interface MasterFactory<T extends MasterContext>
Master
.Modifier and Type | Method and Description |
---|---|
Master |
create(MasterRegistry registry,
T context)
Factory method to create a new master instance.
|
String |
getName() |
boolean |
isEnabled() |
boolean isEnabled()
String getName()
Master create(MasterRegistry registry, T context)
registry
- the master registrycontext
- master contextMaster
instanceCopyright © 2023. All Rights Reserved.