Interface CounterProtocol
- All Superinterfaces:
GossipProtocol,PrimitiveProtocol
@Beta public interface CounterProtocol extends GossipProtocol
Counter protocol.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.atomix.primitive.protocol.PrimitiveProtocol
PrimitiveProtocol.Type<C extends PrimitiveProtocolConfig<C>> -
Method Summary
Modifier and Type Method Description CounterDelegatenewCounterDelegate(String name, PrimitiveManagementService managementService)Returns a new counter delegate.
-
Method Details
-
newCounterDelegate
Returns a new counter delegate.- Parameters:
name- the counter namemanagementService- the primitive management service- Returns:
- a new counter delegate
-