Package io.atomix.client
Class DelegatingAsyncPrimitive<A extends AsyncPrimitive<A,S>,S extends SyncPrimitive<S,A>,T extends AsyncPrimitive<T,?>>
java.lang.Object
io.atomix.client.DelegatingAsyncPrimitive<A,S,T>
- All Implemented Interfaces:
AsyncPrimitive<A,,S> DistributedPrimitive
public abstract class DelegatingAsyncPrimitive<A extends AsyncPrimitive<A,S>,S extends SyncPrimitive<S,A>,T extends AsyncPrimitive<T,?>>
extends Object
implements AsyncPrimitive<A,S>
Base class for primitive delegates.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface io.atomix.client.AsyncPrimitive
sync, sync
-
Constructor Details
-
DelegatingAsyncPrimitive
-
-
Method Details
-
name
Description copied from interface:DistributedPrimitiveReturns the name of this primitive.- Specified by:
namein interfaceDistributedPrimitive- Returns:
- name
-
close
Description copied from interface:AsyncPrimitiveCloses the primitive.- Specified by:
closein interfaceAsyncPrimitive<A extends AsyncPrimitive<A,S>, S extends SyncPrimitive<S, A>> - Returns:
- a future to be completed once the primitive is closed
-
toString
-
hashCode
public int hashCode() -
equals
-