Uses of Class
org.apache.ignite.internal.client.GridClientException
-
-
Uses of GridClientException in org.apache.ignite.internal.client
Subclasses of GridClientException in org.apache.ignite.internal.client Modifier and Type Class Description classGridClientAuthenticationExceptionException that represents client authentication failure.classGridClientClosedExceptionThis exception is thrown whenever an attempt is made to use a closed client.classGridClientDisconnectedExceptionThis exception is thrown when client has no Grid topology and (probably temporary) can't obtain it.classGridClientFutureTimeoutExceptionClient future timeout exception is thrown whenever any client waiting is timed out.classGridClientHandshakeExceptionThis exception is thrown when a client handshake has failed.classGridServerUnreachableExceptionThrown when none of the servers from configuration can be connected within a timeout.Methods in org.apache.ignite.internal.client that return GridClientException Modifier and Type Method Description GridClientExceptionGridClient. checkLastError()Check for last topology errors.GridClientExceptionGridClientBeforeNodeStart. checkLastError()Checking for an error.Methods in org.apache.ignite.internal.client that throw GridClientException Modifier and Type Method Description <K> UUIDGridClientData. affinity(K key)Gets affinity node ID for provided key.<R> RGridClientCompute. affinityExecute(String taskName, String cacheName, Object affKey, Object taskArg)Executes task using cache affinity key for routing.<K,V>
booleanGridClientData. append(K key, V val)Append requested value to already cached one.<K,V>
GridClientFuture<Boolean>GridClientData. appendAsync(K key, V val)Append requested value to already cached one.GridClientDataMetricsGridClientData. cachedMetrics()Tries to get metrics from local cache.<K,V>
booleanGridClientData. cas(K key, V val1, V val2)Sets entry value toval1if current value isval2with following conditions: Ifval1isnullandval2is equal to current value, entry is removed from cache.StringGridClientClusterState. clusterName()Get the cluster name.GridClientDataGridClient. data(String cacheName)Gets a data projection for grid cache with name cacheName.<R> RGridClientCompute. execute(String taskName, Object taskArg)Executes task on remote grid.GridClientDataGridClientData. flagsOff(GridClientCacheFlag... flags)Creates new client data object with disabled cache flags.GridClientDataGridClientData. flagsOn(GridClientCacheFlag... flags)Creates new client data object with enabled cache flags.<K,V>
VGridClientData. get(K key)Gets value from cache on remote node.RGridClientFuture. get()Synchronously waits for completion and returns result.RGridClientFuture. get(long timeout, TimeUnit unit)Synchronously waits for completion and returns result.<K,V>
Map<K,V>GridClientData. getAll(Collection<K> keys)Gets entries from cache on remote grid.voidGridClientConfiguration. load(String prefix, Properties in)Load client configuration from the properties map.GridClientDataMetricsGridClientData. metrics()Fetches metrics for cache from remote grid.GridClientNodeGridClientCompute. node(UUID id)Gets cached node with given id from most recently refreshed topology.Collection<GridClientNode>GridClientCompute. nodes()Gets most recently refreshed topology.Collection<GridClientNode>GridClientCompute. nodes(Collection<UUID> ids)Gets cached nodes for the given IDs based on most recently refreshed topology.Collection<GridClientNode>GridClientCompute. nodes(GridClientPredicate<GridClientNode> filter)Gets all cached nodes that pass the filter.GridClientDataGridClientData. pinNodes(GridClientNode node, GridClientNode... nodes)Gets client data projection which will only contact specified remote grid node.<K,V>
booleanGridClientData. prepend(K key, V val)Prepend requested value to already cached one.<K,V>
GridClientFuture<Boolean>GridClientData. prependAsync(K key, V val)Prepend requested value to already cached one.GridClientComputeGridClientCompute. projection(Collection<GridClientNode> nodes)Creates a projection that will communicate only with specified remote nodes.GridClientComputeGridClientCompute. projection(Collection<GridClientNode> nodes, GridClientLoadBalancer balancer)Creates a projection that will communicate only with specified remote nodes.GridClientComputeGridClientCompute. projection(GridClientNode node)Creates a projection that will communicate only with specified remote node.GridClientComputeGridClientCompute. projection(GridClientPredicate<? super GridClientNode> filter)Creates a projection that will communicate only with nodes that are accepted by the passed filter.GridClientComputeGridClientCompute. projection(GridClientPredicate<? super GridClientNode> filter, GridClientLoadBalancer balancer)Creates a projection that will communicate only with nodes that are accepted by the passed filter.<K,V>
booleanGridClientData. put(K key, V val)Puts value to cache on remote grid.<K,V>
voidGridClientData. putAll(Map<K,V> entries)Puts entries to cache on remote grid.@Nullable GridClientNodeGridClientCompute. refreshNode(String ip, boolean includeAttrs, boolean includeMetrics)Refreshes and returns node by its IP address from remote grid.GridClientNodeGridClientCompute. refreshNode(UUID id, boolean includeAttrs, boolean includeMetrics)Refreshes and returns node by its ID from remote grid.List<GridClientNode>GridClientCompute. refreshTopology(boolean includeAttrs, boolean includeMetrics)Refreshes and returns all nodes within topology.<K> booleanGridClientData. remove(K key)Removes value from cache on remote node.<K> voidGridClientData. removeAll(Collection<K> keys)Removes entries from cache on remote node.<K,V>
booleanGridClientData. replace(K key, V val)Replaces value in cache on remote grid only if there was anon-nullvalue associated with this key.static GridClientGridClientFactory. start(GridClientConfiguration cfg)Starts a client with given configuration.static GridClientBeforeNodeStartGridClientFactory. startBeforeNodeStart(GridClientConfiguration cfg)Starts a client before node start with given configuration.ClusterStateGridClientClusterState. state()voidGridClientClusterState. state(ClusterState newState, boolean forceDeactivation)Changes cluster state tonewState.voidGridClientNodeStateBeforeStart. stopWarmUp()Stop warm-up.Constructors in org.apache.ignite.internal.client with parameters of type GridClientException Constructor Description GridClientDisconnectedException(String msg, GridClientException cause)Creates exception with given message and cause.Constructors in org.apache.ignite.internal.client that throw GridClientException Constructor Description GridClientConfiguration(String prefix, Properties in)Creates properties-based configuration.GridClientConfiguration(Properties in)Creates properties-based configuration based on passed in properties. -
Uses of GridClientException in org.apache.ignite.internal.client.balancer
Methods in org.apache.ignite.internal.client.balancer that throw GridClientException Modifier and Type Method Description GridClientNodeGridClientLoadBalancer. balancedNode(Collection<? extends GridClientNode> nodes)Gets next node for executing client command.GridClientNodeGridClientRoundRobinBalancer. balancedNode(Collection<? extends GridClientNode> nodes)Gets next node for executing client command. -
Uses of GridClientException in org.apache.ignite.internal.client.impl
Methods in org.apache.ignite.internal.client.impl that return GridClientException Modifier and Type Method Description GridClientExceptionGridClientImpl. checkLastError()Check for last topology errors.Methods in org.apache.ignite.internal.client.impl that throw GridClientException Modifier and Type Method Description <K> UUIDGridClientDataImpl. affinity(K key)Gets affinity node ID for provided key.<K,V>
booleanGridClientDataImpl. append(K key, V val)Append requested value to already cached one.<K,V>
GridClientFuture<Boolean>GridClientDataImpl. appendAsync(K key, V val)Append requested value to already cached one.GridClientDataMetricsGridClientDataImpl. cachedMetrics()Tries to get metrics from local cache.<K,V>
booleanGridClientDataImpl. cas(K key, V val1, V val2)Sets entry value toval1if current value isval2with following conditions: Ifval1isnullandval2is equal to current value, entry is removed from cache.StringGridClientClusterStateImpl. clusterName()Get the cluster name.GridClientConnectionGridClientImpl. connection()Getting a client connection without topology information.GridClientDataGridClientImpl. data(@Nullable String cacheName)Gets a data projection for grid cache with name cacheName.GridClientDataGridClientDataImpl. flagsOff(GridClientCacheFlag... flags)Creates new client data object with disabled cache flags.GridClientDataGridClientDataImpl. flagsOn(GridClientCacheFlag... flags)Creates new client data object with enabled cache flags.<K,V>
VGridClientDataImpl. get(K key)Gets value from cache on remote node.RGridClientFutureAdapter. get()Synchronously waits for completion and returns result.RGridClientFutureAdapter. get(long timeout, TimeUnit unit)Synchronously waits for completion and returns result.<K,V>
Map<K,V>GridClientDataImpl. getAll(Collection<K> keys)Gets entries from cache on remote grid.GridClientDataMetricsGridClientDataImpl. metrics()Fetches metrics for cache from remote grid.GridClientConnectionManagerGridClientImpl. newConnectionManager(@Nullable Byte marshId, boolean routerClient)SGridClientFutureCallback. onComplete(GridClientFuture<R> fut)Future callback to executed when listened future finishes.GridClientDataGridClientDataImpl. pinNodes(GridClientNode node, GridClientNode... nodes)Gets client data projection which will only contact specified remote grid node.<K,V>
booleanGridClientDataImpl. prepend(K key, V val)Prepend requested value to already cached one.<K,V>
GridClientFuture<Boolean>GridClientDataImpl. prependAsync(K key, V val)Prepend requested value to already cached one.<K,V>
booleanGridClientDataImpl. put(K key, V val)Puts value to cache on remote grid.<K,V>
voidGridClientDataImpl. putAll(Map<K,V> entries)Puts entries to cache on remote grid.<K> booleanGridClientDataImpl. remove(K key)Removes value from cache on remote node.<K> voidGridClientDataImpl. removeAll(Collection<K> keys)Removes entries from cache on remote node.<K,V>
booleanGridClientDataImpl. replace(K key, V val)Replaces value in cache on remote grid only if there was anon-nullvalue associated with this key.ClusterStateGridClientClusterStateImpl. state()voidGridClientClusterStateImpl. state(ClusterState newState, boolean forceDeactivation)Changes cluster state tonewState.voidGridClientNodeStateBeforeStartImpl. stopWarmUp()Stop warm-up.Constructors in org.apache.ignite.internal.client.impl that throw GridClientException Constructor Description GridClientImpl(UUID id, GridClientConfiguration cfg0, boolean routerClient, boolean beforeNodeStart)Creates a new client based on a given configuration. -
Uses of GridClientException in org.apache.ignite.internal.client.impl.connection
Subclasses of GridClientException in org.apache.ignite.internal.client.impl.connection Modifier and Type Class Description classGridClientConnectionResetExceptionThis exception is thrown when ongoing packet should be sent, but network connection is broken.classGridConnectionIdleClosedExceptionThis exception is thrown if client was closed by idle checker thread.Methods in org.apache.ignite.internal.client.impl.connection that return GridClientException Modifier and Type Method Description protected GridClientExceptionGridClientConnection. getCloseReasonAsException(org.apache.ignite.internal.client.impl.connection.GridClientConnectionCloseReason reason, @Nullable Throwable cause)Build appropriate exception from the given close reason.@Nullable GridClientExceptionGridClientTopology. lastError()Methods in org.apache.ignite.internal.client.impl.connection with parameters of type GridClientException Modifier and Type Method Description voidGridClientTopology. fail(GridClientException cause)Marks topology as failed.Methods in org.apache.ignite.internal.client.impl.connection that throw GridClientException Modifier and Type Method Description protected GridClientConnectionGridClientConnectionManagerAdapter. connect(@Nullable UUID nodeId, InetSocketAddress addr)Create new connection to specified server.GridClientConnectionGridClientConnectionManager. connection(Collection<InetSocketAddress> srvs)Returns connection to node using given server addresses.GridClientConnectionGridClientConnectionManagerAdapter. connection(Collection<InetSocketAddress> srvs)Returns connection to node using given server addresses.abstract GridClientFutureAdapter<?>GridClientConnection. forwardMessage(Object body)Forwards a message in raw form to the connected node.GridClientFutureAdapter<GridRouterRequest>GridClientNioTcpConnection. forwardMessage(Object msg)Forwards a message in raw form to the connected node.voidGridClientConnectionManager. init(Collection<InetSocketAddress> srvs)Tries to open initial connection and fetch topology using given server addresses.voidGridClientConnectionManagerAdapter. init(Collection<InetSocketAddress> srvs)Tries to open initial connection and fetch topology using given server addresses.protected abstract voidGridClientConnectionManagerAdapter. init0()Additional initialization.protected voidGridClientConnectionManagerOsImpl. init0()Additional initialization.abstract GridClientFutureAdapter<?>GridClientConnection. messageBeforeStart(Object msg)Sending messages before node starts and getting a response to it.GridClientFutureAdapter<?>GridClientNioTcpConnection. messageBeforeStart(Object msg)Sending messages before node starts and getting a response to it.GridClientNodeGridClientTopology. node(UUID id)Gets node from last saved topology snapshot by it's id.Collection<GridClientNodeImpl>GridClientTopology. nodes()Gets full topology snapshot.Collection<GridClientNode>GridClientTopology. nodes(Iterable<UUID> ids)Gets a collection of nodes from last saved topology snapshot by their ids.Constructors in org.apache.ignite.internal.client.impl.connection that throw GridClientException Constructor Description GridClientConnectionManagerAdapter(UUID clientId, SSLContext sslCtx, GridClientConfiguration cfg, Collection<InetSocketAddress> routers, GridClientTopology top, @Nullable Byte marshId, boolean routerClient, boolean beforeNodeStart)GridClientConnectionManagerOsImpl(UUID clientId, SSLContext sslCtx, GridClientConfiguration cfg, Collection<InetSocketAddress> routers, GridClientTopology top, Byte marshId, boolean routerClient, boolean beforeNodeStart) -
Uses of GridClientException in org.apache.ignite.internal.client.router.impl
Methods in org.apache.ignite.internal.client.router.impl that return GridClientException Modifier and Type Method Description GridClientExceptionGridRouterClientImpl. checkLastError()Check for last topology errors.Methods in org.apache.ignite.internal.client.router.impl that throw GridClientException Modifier and Type Method Description GridClientDataGridRouterClientImpl. data(String cacheName)Gets a data projection for grid cache with name cacheName. -
Uses of GridClientException in org.apache.ignite.internal.management
Methods in org.apache.ignite.internal.management that throw GridClientException Modifier and Type Method Description NoArgActivateCommand. execute(@Nullable GridClient cli, @Nullable IgniteClient client, @Nullable Ignite ignite, NoArg arg, Consumer<String> printer)Deprecated.Executes command logic.NoArgDeactivateCommand. execute(@Nullable GridClient cli, @Nullable IgniteClient client, @Nullable Ignite ignite, DeactivateCommandArg arg, Consumer<String> printer)Deprecated.Executes command logic.BooleanSetStateCommand. execute(@Nullable GridClient cli, @Nullable IgniteClient client, @Nullable Ignite ignite, SetStateCommandArg arg, Consumer<String> printer)Executes command logic. -
Uses of GridClientException in org.apache.ignite.internal.management.api
Methods in org.apache.ignite.internal.management.api that throw GridClientException Modifier and Type Method Description protected @Nullable GridClientCommandInvoker. client()protected GridClientNodeCommandInvoker. defaultNode()static Collection<GridClientNode>CommandUtils. nodes(@Nullable GridClient cli, @Nullable IgniteClient client, @Nullable Ignite ignite) -
Uses of GridClientException in org.apache.ignite.internal.management.cache
Methods in org.apache.ignite.internal.management.cache that throw GridClientException Modifier and Type Method Description booleanCacheDestroyCommand. prepare(@Nullable GridClient cli, @Nullable IgniteClient client, @Nullable Ignite ignite, CacheDestroyCommandArg arg, Consumer<String> printer)Enriches argument with cluster information if required.
-