Uses of Class
org.apache.ignite.client.ClientException
-
Packages that use ClientException Package Description org.apache.ignite Contains entry-point Ignite & HPC APIs.org.apache.ignite.client Contains Ignite Thin Client API classes.org.apache.ignite.internal.client.thin -
-
Uses of ClientException in org.apache.ignite
Methods in org.apache.ignite that throw ClientException Modifier and Type Method Description static IgniteClientIgnition. startClient(ClientConfiguration cfg)Initializes new instance ofIgniteClient. -
Uses of ClientException in org.apache.ignite.client
Subclasses of ClientException in org.apache.ignite.client Modifier and Type Class Description classClientAuthenticationExceptionIndicates user name or password is invalid.classClientAuthorizationExceptionIndicates user has no permission to perform operation.classClientConnectionExceptionIndicates all the Ignite servers specified in the client configuration are no longer available.classClientFeatureNotSupportedByServerExceptionFeature not supported by server exception.classClientReconnectedExceptionIndicates that previous connection was lost and a new connection established, which can lead to inconsistency of non-atomic operations.Methods in org.apache.ignite.client that throw ClientException Modifier and Type Method Description Collection<String>IgniteClient. cacheNames()Gets the names of all available caches.IgniteClientFuture<Collection<String>>IgniteClient. cacheNamesAsync()Gets the names of all available caches.voidClientCache. clear()Clears the contents of the cache.voidClientCache. clear(K key)Clears entry with specified key from the cache.voidClientCache. clearAll(Set<? extends K> keys)Clears entries with specified keys from the cache.IgniteClientFuture<Void>ClientCache. clearAllAsync(Set<? extends K> keys)Clears entries with specified keys from the cache asynchronously.IgniteClientFuture<Void>ClientCache. clearAsync()Clears the contents of the cache asynchronously.IgniteClientFuture<Void>ClientCache. clearAsync(K key)Clears entry with specified key from the cache asynchronously.voidClientTransaction. commit()Commits this transaction.booleanClientCache. containsKey(K key)Determines if theClientCachecontains an entry for the specified key.IgniteClientFuture<Boolean>ClientCache. containsKeyAsync(K key)Determines if theClientCachecontains an entry for the specified key asynchronously.booleanClientCache. containsKeys(Set<? extends K> keys)Determines if theClientCachecontains entries for the specified keys.IgniteClientFuture<Boolean>ClientCache. containsKeysAsync(Set<? extends K> keys)Determines if theClientCachecontains entries for the specified keys asynchronously.<K,V>
ClientCache<K,V>IgniteClient. createCache(String name)Creates a cache with a default configuration.<K,V>
ClientCache<K,V>IgniteClient. createCache(ClientCacheConfiguration cfg)Creates a cache with the specified configuration.<K,V>
IgniteClientFuture<ClientCache<K,V>>IgniteClient. createCacheAsync(String name)Creates a cache with a default configuration.<K,V>
IgniteClientFuture<ClientCache<K,V>>IgniteClient. createCacheAsync(ClientCacheConfiguration cfg)Creates a cache with the specified configuration.voidIgniteClient. destroyCache(String name)Destroys the cache with the given name.IgniteClientFuture<Void>IgniteClient. destroyCacheAsync(String name)Destroys the cache with the given name.booleanClientCluster. disableWal(String cacheName)Disables write-ahead logging for specified cache.booleanClientCluster. enableWal(String cacheName)Enables write-ahead logging for specified cache.<T,R>
RClientCompute. execute(String taskName, T arg)Executes given task within the cluster group.<T,R>
Future<R>ClientCompute. executeAsync(String taskName, T arg)Deprecated.UseClientCompute.executeAsync2(String, Object)instead.<T,R>
IgniteClientFuture<R>ClientCompute. executeAsync2(String taskName, T arg)Executes given task asynchronously within the cluster group.VClientCache. get(K key)Gets an entry from the cache.Map<K,V>ClientCache. getAll(Set<? extends K> keys)Gets a collection of entries from theClientCache, returning them asMapof the values associated with the set of keys requested.IgniteClientFuture<Map<K,V>>ClientCache. getAllAsync(Set<? extends K> keys)Gets a collection of entries from theClientCache, returning them asMapof the values associated with the set of keys requested.VClientCache. getAndPut(K key, V val)Associates the specified value with the specified key in this cache, returning an existing value if one existed.IgniteClientFuture<V>ClientCache. getAndPutAsync(K key, V val)Associates the specified value with the specified key in this cache, returning an existing value if one existed.VClientCache. getAndPutIfAbsent(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.IgniteClientFuture<V>ClientCache. getAndPutIfAbsentAsync(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.VClientCache. getAndRemove(K key)Atomically removes the entry for a key only if currently mapped to some value.IgniteClientFuture<V>ClientCache. getAndRemoveAsync(K key)Atomically removes the entry for a key only if currently mapped to some value.VClientCache. getAndReplace(K key, V val)Atomically replaces the value for a given key if and only if there is a value currently mapped by the key.IgniteClientFuture<V>ClientCache. getAndReplaceAsync(K key, V val)Atomically replaces the value for a given key if and only if there is a value currently mapped by the key.ClientCacheConfigurationClientCache. getConfiguration()IgniteClientFuture<ClientCacheConfiguration>ClientCache. getConfigurationAsync()Gets the cache configuration asynchronously.<K,V>
ClientCache<K,V>IgniteClient. getOrCreateCache(String name)Gets the existing cache or creates a new cache with default configuration if it does not exist.<K,V>
ClientCache<K,V>IgniteClient. getOrCreateCache(ClientCacheConfiguration cfg)Gets the existing cache or creates a new cache if it does not exist.<K,V>
IgniteClientFuture<ClientCache<K,V>>IgniteClient. getOrCreateCacheAsync(String name)Gets the existing cache or creates a new cache with default configuration if it does not exist.<K,V>
IgniteClientFuture<ClientCache<K,V>>IgniteClient. getOrCreateCacheAsync(ClientCacheConfiguration cfg)Gets the existing cache or creates a new cache if it does not exist.<T> TClientCache. invoke(K key, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... arguments)Invokes anEntryProcessoragainst theCache.Entryspecified by the provided key.<T> Map<K,javax.cache.processor.EntryProcessorResult<T>>ClientCache. invokeAll(Set<? extends K> keys, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... args)Invokes eachEntryProcessoragainst the set ofCache.Entrys specified by the set of keys.<T> IgniteClientFuture<Map<K,javax.cache.processor.EntryProcessorResult<T>>>ClientCache. invokeAllAsync(Set<? extends K> keys, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... args)Asynchronously invokes eachEntryProcessoragainst the set ofCache.Entrys specified by the set of keys.<T> IgniteClientFuture<T>ClientCache. invokeAsync(K key, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... arguments)Asynchronously invokes anEntryProcessoragainst theCache.Entryspecified by the provided key.voidClientCache. put(K key, V val)Associates the specified value with the specified key in the cache.voidClientCache. putAll(Map<? extends K,? extends V> map)Copies all of the entries from the specified map to theClientCache.IgniteClientFuture<Void>ClientCache. putAllAsync(Map<? extends K,? extends V> map)Copies all of the entries from the specified map to theClientCache.IgniteClientFuture<Void>ClientCache. putAsync(K key, V val)Associates the specified value with the specified key in the cache asynchronously.booleanClientCache. putIfAbsent(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.IgniteClientFuture<Boolean>ClientCache. putIfAbsentAsync(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.booleanClientCache. remove(K key)Removes the mapping for a key from this cache if it is present.booleanClientCache. remove(K key, V oldVal)Atomically removes the mapping for a key only if currently mapped to the given value.voidClientCache. removeAll()Removes all of the mappings from this cache.voidClientCache. removeAll(Set<? extends K> keys)Removes entries for the specified keys.IgniteClientFuture<Void>ClientCache. removeAllAsync()Removes all of the mappings from this cache.IgniteClientFuture<Void>ClientCache. removeAllAsync(Set<? extends K> keys)Removes entries for the specified keys.IgniteClientFuture<Boolean>ClientCache. removeAsync(K key)Removes the mapping for a key from this cache if it is present.IgniteClientFuture<Boolean>ClientCache. removeAsync(K key, V oldVal)Atomically removes the mapping for a key only if currently mapped to the given value.booleanClientCache. replace(K key, V val)Atomically replaces the entry for a key only if currently mapped to some value.booleanClientCache. replace(K key, V oldVal, V newVal)Atomically replaces the entry for a key only if currently mapped to a given value.IgniteClientFuture<Boolean>ClientCache. replaceAsync(K key, V val)Atomically replaces the entry for a key only if currently mapped to some value.IgniteClientFuture<Boolean>ClientCache. replaceAsync(K key, V oldVal, V newVal)Atomically replaces the entry for a key only if currently mapped to a given value.voidClientTransaction. rollback()Rolls back this transaction.intClientCache. size(CachePeekMode... peekModes)Gets the number of all entries cached across all nodes.IgniteClientFuture<Integer>ClientCache. sizeAsync(CachePeekMode... peekModes)Gets the number of all entries cached across all nodes.voidClientCluster. state(ClusterState newState)Changes current cluster state to givennewStatecluster state.ClientTransactionClientTransactions. txStart()Starts a new transaction with the default isolation level, concurrency and timeout.ClientTransactionClientTransactions. txStart(TransactionConcurrency concurrency, TransactionIsolation isolation)Starts a new transaction with the specified concurrency and isolation.ClientTransactionClientTransactions. txStart(TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout)Starts a new transaction with the specified isolation, concurrency and timeout.ClientTransactionsClientTransactions. withLabel(String lb)Returns instance ofClientTransactionsto mark each new transaction with a specified label. -
Uses of ClientException in org.apache.ignite.internal.client.thin
Methods in org.apache.ignite.internal.client.thin that throw ClientException Modifier and Type Method Description Collection<String>TcpIgniteClient. cacheNames()Gets the names of all available caches.IgniteClientFuture<Collection<String>>TcpIgniteClient. cacheNamesAsync()Gets the names of all available caches.voidTcpClientCache. clear()Clears the contents of the cache.voidTcpClientCache. clear(K key)Clears entry with specified key from the cache.voidTcpClientCache. clearAll(Set<? extends K> keys)Clears entries with specified keys from the cache.IgniteClientFuture<Void>TcpClientCache. clearAllAsync(Set<? extends K> keys)Clears entries with specified keys from the cache asynchronously.IgniteClientFuture<Void>TcpClientCache. clearAsync()Clears the contents of the cache asynchronously.IgniteClientFuture<Void>TcpClientCache. clearAsync(K key)Clears entry with specified key from the cache asynchronously.booleanTcpClientCache. containsKey(K key)Determines if theClientCachecontains an entry for the specified key.IgniteClientFuture<Boolean>TcpClientCache. containsKeyAsync(K key)Determines if theClientCachecontains an entry for the specified key asynchronously.booleanTcpClientCache. containsKeys(Set<? extends K> keys)Determines if theClientCachecontains entries for the specified keys.IgniteClientFuture<Boolean>TcpClientCache. containsKeysAsync(Set<? extends K> keys)Determines if theClientCachecontains entries for the specified keys asynchronously.<K,V>
ClientCache<K,V>TcpIgniteClient. createCache(String name)Creates a cache with a default configuration.<K,V>
ClientCache<K,V>TcpIgniteClient. createCache(ClientCacheConfiguration cfg)Creates a cache with the specified configuration.<K,V>
IgniteClientFuture<ClientCache<K,V>>TcpIgniteClient. createCacheAsync(String name)Creates a cache with a default configuration.<K,V>
IgniteClientFuture<ClientCache<K,V>>TcpIgniteClient. createCacheAsync(ClientCacheConfiguration cfg)Creates a cache with the specified configuration.voidTcpIgniteClient. destroyCache(String name)Destroys the cache with the given name.IgniteClientFuture<Void>TcpIgniteClient. destroyCacheAsync(String name)Destroys the cache with the given name.booleanClientClusterImpl. disableWal(String cacheName)Disables write-ahead logging for specified cache.booleanClientClusterImpl. enableWal(String cacheName)Enables write-ahead logging for specified cache.VTcpClientCache. get(K key)Gets an entry from the cache.Map<K,V>TcpClientCache. getAll(Set<? extends K> keys)Gets a collection of entries from theClientCache, returning them asMapof the values associated with the set of keys requested.IgniteClientFuture<Map<K,V>>TcpClientCache. getAllAsync(Set<? extends K> keys)Gets a collection of entries from theClientCache, returning them asMapof the values associated with the set of keys requested.VTcpClientCache. getAndPut(K key, V val)Associates the specified value with the specified key in this cache, returning an existing value if one existed.IgniteClientFuture<V>TcpClientCache. getAndPutAsync(K key, V val)Associates the specified value with the specified key in this cache, returning an existing value if one existed.VTcpClientCache. getAndPutIfAbsent(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.IgniteClientFuture<V>TcpClientCache. getAndPutIfAbsentAsync(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.VTcpClientCache. getAndRemove(K key)Atomically removes the entry for a key only if currently mapped to some value.IgniteClientFuture<V>TcpClientCache. getAndRemoveAsync(K key)Atomically removes the entry for a key only if currently mapped to some value.VTcpClientCache. getAndReplace(K key, V val)Atomically replaces the value for a given key if and only if there is a value currently mapped by the key.IgniteClientFuture<V>TcpClientCache. getAndReplaceAsync(K key, V val)Atomically replaces the value for a given key if and only if there is a value currently mapped by the key.ClientCacheConfigurationTcpClientCache. getConfiguration()IgniteClientFuture<ClientCacheConfiguration>TcpClientCache. getConfigurationAsync()Gets the cache configuration asynchronously.<K,V>
ClientCache<K,V>TcpIgniteClient. getOrCreateCache(String name)Gets the existing cache or creates a new cache with default configuration if it does not exist.<K,V>
ClientCache<K,V>TcpIgniteClient. getOrCreateCache(ClientCacheConfiguration cfg)Gets the existing cache or creates a new cache if it does not exist.<K,V>
IgniteClientFuture<ClientCache<K,V>>TcpIgniteClient. getOrCreateCacheAsync(String name)Gets the existing cache or creates a new cache with default configuration if it does not exist.<K,V>
IgniteClientFuture<ClientCache<K,V>>TcpIgniteClient. getOrCreateCacheAsync(ClientCacheConfiguration cfg)Gets the existing cache or creates a new cache if it does not exist.<T> TTcpClientCache. invoke(K key, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... arguments)Invokes anEntryProcessoragainst theCache.Entryspecified by the provided key.<T> Map<K,javax.cache.processor.EntryProcessorResult<T>>TcpClientCache. invokeAll(Set<? extends K> keys, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... arguments)Invokes eachEntryProcessoragainst the set ofCache.Entrys specified by the set of keys.<T> IgniteClientFuture<Map<K,javax.cache.processor.EntryProcessorResult<T>>>TcpClientCache. invokeAllAsync(Set<? extends K> keys, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... arguments)Asynchronously invokes eachEntryProcessoragainst the set ofCache.Entrys specified by the set of keys.<T> IgniteClientFuture<T>TcpClientCache. invokeAsync(K key, javax.cache.processor.EntryProcessor<K,V,T> entryProc, Object... arguments)Asynchronously invokes anEntryProcessoragainst theCache.Entryspecified by the provided key.voidTcpClientCache. put(K key, V val)Associates the specified value with the specified key in the cache.voidTcpClientCache. putAll(Map<? extends K,? extends V> map)Copies all of the entries from the specified map to theClientCache.IgniteClientFuture<Void>TcpClientCache. putAllAsync(Map<? extends K,? extends V> map)Copies all of the entries from the specified map to theClientCache.voidTcpClientCache. putAllConflict(Map<? extends K,? extends T3<? extends V,GridCacheVersion,Long>> drMap)Store DR data.IgniteClientFuture<Void>TcpClientCache. putAllConflictAsync(Map<? extends K,T3<? extends V,GridCacheVersion,Long>> drMap)Store DR data asynchronously.IgniteClientFuture<Void>TcpClientCache. putAsync(K key, V val)Associates the specified value with the specified key in the cache asynchronously.booleanTcpClientCache. putIfAbsent(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.IgniteClientFuture<Boolean>TcpClientCache. putIfAbsentAsync(K key, V val)Atomically associates the specified key with the given value if it is not already associated with a value.booleanTcpClientCache. remove(K key)Removes the mapping for a key from this cache if it is present.booleanTcpClientCache. remove(K key, V oldVal)Atomically removes the mapping for a key only if currently mapped to the given value.voidTcpClientCache. removeAll()Removes all of the mappings from this cache.voidTcpClientCache. removeAll(Set<? extends K> keys)Removes entries for the specified keys.IgniteClientFuture<Void>TcpClientCache. removeAllAsync()Removes all of the mappings from this cache.IgniteClientFuture<Void>TcpClientCache. removeAllAsync(Set<? extends K> keys)Removes entries for the specified keys.voidTcpClientCache. removeAllConflict(Map<? extends K,GridCacheVersion> drMap)Removes DR data.IgniteClientFuture<Void>TcpClientCache. removeAllConflictAsync(Map<? extends K,GridCacheVersion> drMap)Removes DR data asynchronously.IgniteClientFuture<Boolean>TcpClientCache. removeAsync(K key)Removes the mapping for a key from this cache if it is present.IgniteClientFuture<Boolean>TcpClientCache. removeAsync(K key, V oldVal)Atomically removes the mapping for a key only if currently mapped to the given value.booleanTcpClientCache. replace(K key, V val)Atomically replaces the entry for a key only if currently mapped to some value.booleanTcpClientCache. replace(K key, V oldVal, V newVal)Atomically replaces the entry for a key only if currently mapped to a given value.IgniteClientFuture<Boolean>TcpClientCache. replaceAsync(K key, V val)Atomically replaces the entry for a key only if currently mapped to some value.IgniteClientFuture<Boolean>TcpClientCache. replaceAsync(K key, V oldVal, V newVal)Atomically replaces the entry for a key only if currently mapped to a given value.intTcpClientCache. size(CachePeekMode... peekModes)Gets the number of all entries cached across all nodes.IgniteClientFuture<Integer>TcpClientCache. sizeAsync(CachePeekMode... peekModes)Gets the number of all entries cached across all nodes.static IgniteClientTcpIgniteClient. start(ClientConfiguration cfg)Initializes new instance ofIgniteClient.voidClientClusterImpl. state(ClusterState newState)Changes current cluster state to givennewStatecluster state.voidClientClusterImpl. state(ClusterState newState, boolean forceDeactivation)Changes current cluster state to givennewStatecluster state.
-