public class DistributedCounterType extends Object implements PrimitiveType<DistributedCounterBuilder,DistributedCounterConfig,DistributedCounter>
| Constructor and Description |
|---|
DistributedCounterType() |
| Modifier and Type | Method and Description |
|---|---|
static DistributedCounterType |
instance()
Returns a new distributed counter type.
|
String |
name()
Returns the object name.
|
DistributedCounterBuilder |
newBuilder(String name,
DistributedCounterConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
DistributedCounterConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveService |
newService(ServiceConfig config)
Creates a new service instance from the given configuration.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitnamespace, newResourcepublic static DistributedCounterType instance()
public PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<DistributedCounterBuilder,DistributedCounterConfig,DistributedCounter>config - the service configurationpublic DistributedCounterConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<DistributedCounterBuilder,DistributedCounterConfig,DistributedCounter>newConfig in interface ConfiguredType<DistributedCounterConfig>public DistributedCounterBuilder newBuilder(String name, DistributedCounterConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<DistributedCounterBuilder,DistributedCounterConfig,DistributedCounter>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.