Package io.atomix.client
Class Synchronous<S extends SyncPrimitive<S,A>,A extends AsyncPrimitive<A,S>>
java.lang.Object
io.atomix.client.Synchronous<S,A>
- All Implemented Interfaces:
DistributedPrimitive,SyncPrimitive<S,A>
public abstract class Synchronous<S extends SyncPrimitive<S,A>,A extends AsyncPrimitive<A,S>>
extends Object
implements SyncPrimitive<S,A>
DistributedPrimitive that is a synchronous (blocking) version of
another.
-
Field Summary
Fields inherited from interface io.atomix.client.SyncPrimitive
DEFAULT_OPERATION_TIMEOUT -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.atomix.client.SyncPrimitive
async
-
Method Details
-
name
Description copied from interface:DistributedPrimitiveReturns the name of this primitive.- Specified by:
namein interfaceDistributedPrimitive- Returns:
- name
-
close
public void close()Description copied from interface:SyncPrimitiveCloses the primitive.- Specified by:
closein interfaceSyncPrimitive<S extends SyncPrimitive<S,A>, A extends AsyncPrimitive<A, S>>
-