Class ClientCachePartitionsRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.client.ClientRequest
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCachePartitionsRequest
-
- All Implemented Interfaces:
ClientListenerRequest
public class ClientCachePartitionsRequest extends ClientRequest
Cluster node list request. Currently, used to request list of nodes, to calculate affinity on the client side.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
HANDSHAKE
-
-
Constructor Summary
Constructors Constructor Description ClientCachePartitionsRequest(BinaryRawReader reader, ClientProtocolContext protocolCtx)Initializes a new instance of ClientRawRequest class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisDefaultMapping(CacheConfiguration<?,?> ccfg)ClientResponseprocess(ClientConnectionContext ctx)Processes the request.-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.ClientRequest
isAsync, processAsync, requestId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
beforeStartupRequest
-
-
-
-
Constructor Detail
-
ClientCachePartitionsRequest
public ClientCachePartitionsRequest(BinaryRawReader reader, ClientProtocolContext protocolCtx)
Initializes a new instance of ClientRawRequest class.- Parameters:
reader- Reader.
-
-
Method Detail
-
process
public ClientResponse process(ClientConnectionContext ctx)
Processes the request.- Overrides:
processin classClientRequest- Returns:
- Response.
-
isDefaultMapping
public static boolean isDefaultMapping(CacheConfiguration<?,?> ccfg)
- Parameters:
ccfg- Cache configuration.- Returns:
trueif the default affinity was used for cache.
-
-