T - operation result typepublic interface Operation<T> extends Serializable
This is a base interface for operations on the Raft cluster state. Operations are submitted to Raft clusters
by clients via a Session. All operations are sent over the network
and thus must be serializable by the client and by all servers in the cluster. By default, Java serialization
is used. However, it is recommended that operations implement CatalystSerializable
or register a TypeSerializer for better performance.
Command,
QueryCopyright © 2013–2017. All rights reserved.