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