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