@ThreadSafe public final class KeyValueMasterFactory extends Object implements MasterFactory
KeyValueMaster
instance.Constructor and Description |
---|
KeyValueMasterFactory()
Constructs a new
KeyValueMasterFactory . |
Modifier and Type | Method and Description |
---|---|
KeyValueMaster |
create(MasterRegistry registry,
MasterContext context)
Factory method to create a new master instance.
|
String |
getName() |
boolean |
isEnabled() |
public KeyValueMasterFactory()
KeyValueMasterFactory
.public boolean isEnabled()
isEnabled
in interface MasterFactory
public String getName()
getName
in interface MasterFactory
public KeyValueMaster create(MasterRegistry registry, MasterContext context)
MasterFactory
create
in interface MasterFactory
registry
- the master registrycontext
- master contextMaster
instanceCopyright © 2023. All Rights Reserved.