| Package | Description |
|---|---|
| org.gridgain.client |
Public Java client messages APIs.
|
| org.gridgain.client.impl |
GridGain Java client implementation.
|
| org.gridgain.client.impl.connection |
| Modifier and Type | Method and Description |
|---|---|
static GridClientCacheFlag |
GridClientCacheFlag.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridClientCacheFlag |
GridClientCacheFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridClientCacheFlag[] |
GridClientCacheFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GridClientCacheFlag> |
GridClientData.flags()
Gets cache flags enabled on this data projection.
|
| Modifier and Type | Method and Description |
|---|---|
GridClientData |
GridClientData.flagsOff(GridClientCacheFlag... flags)
Creates new client data object with disabled cache flags.
|
GridClientData |
GridClientData.flagsOn(GridClientCacheFlag... flags)
Creates new client data object with enabled cache flags.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GridClientCacheFlag> |
GridClientDataImpl.flags()
Gets cache flags enabled on this data projection.
|
| Modifier and Type | Method and Description |
|---|---|
GridClientData |
GridClientDataImpl.flagsOff(GridClientCacheFlag... flags)
Creates new client data object with disabled cache flags.
|
GridClientData |
GridClientDataImpl.flagsOn(GridClientCacheFlag... flags)
Creates new client data object with enabled cache flags.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <K,V> GridClientFutureAdapter<Boolean> |
GridClientConnection.cacheAppend(String cacheName,
K key,
V val,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Append requested value to already cached one.
|
<K,V> GridClientFutureAdapter<Boolean> |
GridClientNioTcpConnection.cacheAppend(String cacheName,
K key,
V val,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Append requested value to already cached one.
|
abstract <K,V> GridClientFutureAdapter<Boolean> |
GridClientConnection.cacheCompareAndSet(String cacheName,
K key,
V newVal,
V oldVal,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
New valueActual/old valueBehaviour
null null Remove entry for key.
newVal null Put newVal into cache if such key doesn't exist.
null oldVal Remove if actual value oldVal is equals to value in cache.
newVal oldVal Replace if actual value oldVal is equals to value in cache.
|
<K,V> GridClientFutureAdapter<Boolean> |
GridClientNioTcpConnection.cacheCompareAndSet(String cacheName,
K key,
V newVal,
V oldVal,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
New valueActual/old valueBehaviour
null null Remove entry for key.
newVal null Put newVal into cache if such key doesn't exist.
null oldVal Remove if actual value oldVal is equals to value in cache.
newVal oldVal Replace if actual value oldVal is equals to value in cache.
|
<K,V> GridClientFutureAdapter<V> |
GridClientConnection.cacheGet(String cacheName,
K key,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Gets entry from the cache for specified key.
|
abstract <K,V> GridClientFutureAdapter<Map<K,V>> |
GridClientConnection.cacheGetAll(String cacheName,
Collection<K> keys,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Gets bundle of entries for specified keys from the cache.
|
<K,V> GridClientFutureAdapter<Map<K,V>> |
GridClientNioTcpConnection.cacheGetAll(String cacheName,
Collection<K> keys,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Gets bundle of entries for specified keys from the cache.
|
abstract <K,V> GridClientFutureAdapter<Boolean> |
GridClientConnection.cachePrepend(String cacheName,
K key,
V val,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Prepend requested value to already cached one.
|
<K,V> GridClientFutureAdapter<Boolean> |
GridClientNioTcpConnection.cachePrepend(String cacheName,
K key,
V val,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Prepend requested value to already cached one.
|
<K,V> GridClientFutureAdapter<Boolean> |
GridClientConnection.cachePut(String cacheName,
K key,
V val,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Puts key-value pair into cache.
|
abstract <K,V> GridClientFutureAdapter<Boolean> |
GridClientConnection.cachePutAll(String cacheName,
Map<K,V> entries,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Puts bundle of entries into cache.
|
<K,V> GridClientFutureAdapter<Boolean> |
GridClientNioTcpConnection.cachePutAll(String cacheName,
Map<K,V> entries,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Puts bundle of entries into cache.
|
abstract <K> GridClientFutureAdapter<Boolean> |
GridClientConnection.cacheRemove(String cacheName,
K key,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Removes entry from the cache for specified key.
|
<K> GridClientFutureAdapter<Boolean> |
GridClientNioTcpConnection.cacheRemove(String cacheName,
K key,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Removes entry from the cache for specified key.
|
abstract <K> GridClientFutureAdapter<Boolean> |
GridClientConnection.cacheRemoveAll(String cacheName,
Collection<K> keys,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Removes bundle of entries for specified keys from the cache.
|
<K> GridClientFutureAdapter<Boolean> |
GridClientNioTcpConnection.cacheRemoveAll(String cacheName,
Collection<K> keys,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Removes bundle of entries for specified keys from the cache.
|
abstract <K,V> GridClientFutureAdapter<Boolean> |
GridClientConnection.cacheReplace(String cacheName,
K key,
V val,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Replace key-value pair in cache if already exist.
|
<K,V> GridClientFutureAdapter<Boolean> |
GridClientNioTcpConnection.cacheReplace(String cacheName,
K key,
V val,
Set<GridClientCacheFlag> flags,
UUID destNodeId)
Replace key-value pair in cache if already exist.
|
static int |
GridClientConnection.encodeCacheFlags(Collection<GridClientCacheFlag> flagSet)
Encodes cache flags to bit map.
|
Copyright © 2014. All rights reserved.