Package | Description |
---|---|
org.apache.ignite |
Contains entry-point Ignite & HPC APIs.
|
org.apache.ignite.client |
Contains Ignite Thin Client API classes.
|
Modifier and Type | Method and Description |
---|---|
static IgniteClient |
Ignition.startClient(ClientConfiguration cfg)
Initializes new instance of
IgniteClient . |
Modifier and Type | Class and Description |
---|---|
class |
ClientAuthenticationException
Indicates user name or password is invalid.
|
class |
ClientAuthorizationException
Indicates user has no permission to perform operation.
|
class |
ClientConnectionException
Indicates all the Ignite servers specified in the client configuration are no longer available.
|
class |
ClientFeatureNotSupportedByServerException
Feature not supported by server exception.
|
class |
ClientReconnectedException
Indicates that previous connection was lost and a new connection established,
which can lead to inconsistency of non-atomic operations.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
IgniteClient.cacheNames() |
void |
ClientCache.clear()
Clears the contents of the cache.
|
void |
ClientTransaction.commit()
Commits this transaction.
|
boolean |
ClientCache.containsKey(K key)
Determines if the
ClientCache contains an entry for the specified key. |
<K,V> ClientCache<K,V> |
IgniteClient.createCache(ClientCacheConfiguration cfg)
Create cache.
|
<K,V> ClientCache<K,V> |
IgniteClient.createCache(String name)
Create cache.
|
void |
IgniteClient.destroyCache(String name)
Destroy cache.
|
boolean |
ClientCluster.disableWal(String cacheName)
Disables write-ahead logging for specified cache.
|
boolean |
ClientCluster.enableWal(String cacheName)
Enables write-ahead logging for specified cache.
|
<T,R> R |
ClientCompute.execute(String taskName,
T arg)
Executes given task within the cluster group.
|
<T,R> Future<R> |
ClientCompute.executeAsync(String taskName,
T arg)
Executes given task asynchronously within the cluster group.
|
V |
ClientCache.get(K key)
Gets an entry from the cache.
|
Map<K,V> |
ClientCache.getAll(Set<? extends K> keys)
Gets a collection of entries from the
ClientCache , returning them as
Map of the values associated with the set of keys requested. |
V |
ClientCache.getAndPut(K key,
V val)
Associates the specified value with the specified key in this cache, returning an existing value if one existed.
|
V |
ClientCache.getAndRemove(K key)
Atomically removes the entry for a key only if currently mapped to some value.
|
V |
ClientCache.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.
|
ClientCacheConfiguration |
ClientCache.getConfiguration() |
<K,V> ClientCache<K,V> |
IgniteClient.getOrCreateCache(ClientCacheConfiguration cfg)
Get existing cache or create the cache if it does not exist.
|
<K,V> ClientCache<K,V> |
IgniteClient.getOrCreateCache(String name)
Get existing cache or create the cache if it does not exist.
|
void |
ClientCache.put(K key,
V val)
Associates the specified value with the specified key in the cache.
|
void |
ClientCache.putAll(Map<? extends K,? extends V> map)
Copies all of the entries from the specified map to the
ClientCache . |
boolean |
ClientCache.putIfAbsent(K key,
V val)
Atomically associates the specified key with the given value if it is not already associated with a value.
|
boolean |
ClientCache.remove(K key)
Removes the mapping for a key from this cache if it is present.
|
boolean |
ClientCache.remove(K key,
V oldVal)
Atomically removes the mapping for a key only if currently mapped to the given value.
|
void |
ClientCache.removeAll()
Removes all of the mappings from this cache.
|
void |
ClientCache.removeAll(Set<? extends K> keys)
Removes entries for the specified keys.
|
boolean |
ClientCache.replace(K key,
V val)
Atomically replaces the entry for a key only if currently mapped to some
value.
|
boolean |
ClientCache.replace(K key,
V oldVal,
V newVal)
Atomically replaces the entry for a key only if currently mapped to a given value.
|
void |
ClientTransaction.rollback()
Rolls back this transaction.
|
int |
ClientCache.size(CachePeekMode... peekModes)
Gets the number of all entries cached across all nodes.
|
void |
ClientCluster.state(ClusterState newState)
Changes current cluster state to given
newState cluster state. |
ClientTransaction |
ClientTransactions.txStart()
Starts a new transaction with the default isolation level, concurrency and timeout.
|
ClientTransaction |
ClientTransactions.txStart(TransactionConcurrency concurrency,
TransactionIsolation isolation)
Starts a new transaction with the specified concurrency and isolation.
|
ClientTransaction |
ClientTransactions.txStart(TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout)
Starts a new transaction with the specified isolation, concurrency and timeout.
|
ClientTransactions |
ClientTransactions.withLabel(String lb)
Returns instance of
ClientTransactions to mark each new transaction with a specified label. |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020