| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridClientNode.attribute(String name)
Gets specific attribute of remote node.
|
GridClientNode |
GridClientCompute.refreshNode(String ip,
boolean includeAttrs,
boolean includeMetrics)
Refreshes and returns node by its IP address from remote grid.
|
| Modifier and Type | Method and Description |
|---|---|
GridClientDataConfiguration |
GridClientConfiguration.getDataConfiguration(String name)
Gets data configuration for a cache with specified name.
|
boolean |
GridClientException.hasCause(Class<? extends Throwable>... cls)
Checks if passed in
'Throwable' has given class in 'cause' hierarchy
including that throwable itself. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridClientNodeImpl.attribute(String name)
Gets specific attribute of remote node.
|
| Modifier and Type | Method and Description |
|---|---|
GridClientData |
GridClientImpl.data(String cacheName)
Gets a data projection for grid cache with name cacheName.
|
void |
GridClientFutureAdapter.onDone(R res)
Callback to notify that future is finished successfully.
|
| Modifier and Type | Method and Description |
|---|---|
protected GridClientConnection |
GridClientConnectionManagerImpl.connect(UUID nodeId,
Collection<InetSocketAddress> srvs)
Creates a connected facade and returns it.
|
protected GridClientConnection |
GridClientConnectionManagerImpl.connect(UUID nodeId,
InetSocketAddress addr)
Create new connection to specified server.
|
GridClientConnection |
GridClientConnectionManagerImpl.connection(UUID nodeId,
Collection<InetSocketAddress> srvs)
Returns connection to one of the given addresses.
|
protected GridClientException |
GridClientConnection.getCloseReasonAsException(org.gridgain.client.impl.connection.GridClientConnectionCloseReason reason,
Throwable cause)
Build appropriate exception from the given close reason.
|
protected String |
GridClientConnection.getCloseReasonMessage(org.gridgain.client.impl.connection.GridClientConnectionCloseReason reason,
Throwable cause) |
abstract GridClientFuture<List<String>> |
GridClientConnection.log(String path,
int fromLine,
int toLine,
UUID destNodeId)
Gets log entries.
|
void |
GridClientConnectionManager.terminateConnection(GridClientConnection conn,
GridClientNode node,
Throwable e)
Callback method, which should be called by clients when they get connectivity errors.
|
abstract GridClientFuture<List<GridClientNode>> |
GridClientConnection.topology(boolean inclAttrs,
boolean inclMetrics,
UUID destNodeId)
Gets grid topology nodes.
|
| Modifier and Type | Method and Description |
|---|---|
GridSecurityCredentialsProvider |
GridTcpRouterConfiguration.getSecurityCredentialsProvider()
Gets credentials provider for grid access.
|
GridSslContextFactory |
GridTcpRouterConfiguration.getSslContextFactory()
Gets SSL context factory that will be used for creating a secure socket layer
of both rest binary server and out coming connections.
|
static GridTcpRouter |
GridRouterFactory.tcpRouter(UUID id)
Returns TCP router with the given id.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
GridClientUtils.first(Iterable<? extends T> c)
Gets first element from given collection or returns
null if the collection is empty. |
| Modifier and Type | Method and Description |
|---|---|
static void |
GridClientUtils.closeQuiet(Closeable closeable)
Closes resource without reporting any error.
|
static <T> T |
GridClientUtils.first(Iterable<? extends T> c)
Gets first element from given collection or returns
null if the collection is empty. |
N |
GridClientConsistentHash.node(Object key,
Collection<N> inc,
Collection<N> exc)
Gets node for a given key.
|
N |
GridClientConsistentHash.node(Object key,
Collection<N> inc,
Collection<N> exc)
Gets node for a given key.
|
| Modifier and Type | Method and Description |
|---|---|
<V> V |
GridMetadataAware.addMeta(String name,
V val)
Adds a new metadata.
|
<V> V |
GridMetadataAware.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<T> T |
GridNode.attribute(String name)
Gets a node attribute.
|
static GridLifecycleEventType |
GridLifecycleEventType.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridGainState |
GridGainState.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridDeploymentMode |
GridDeploymentMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
<T extends Throwable> |
GridIllegalStateException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
GridException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
GridRuntimeException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
GridClientMessageInterceptor |
GridConfiguration.getClientMessageInterceptor()
Gets interceptor for objects, moving to and from remote clients.
|
GridDrReceiverHubConfiguration |
GridConfiguration.getDrReceiverHubConfiguration()
Set data center receiver hub configuration.
|
GridDrSenderHubConfiguration |
GridConfiguration.getDrSenderHubConfiguration()
Get data center sender hub configuration.
|
GridGgfsConfiguration[] |
GridConfiguration.getGgfsConfiguration()
Gets GGFS configurations.
|
String |
GridConfiguration.getGridGainHome()
Should return GridGain installation home folder.
|
int[] |
GridConfiguration.getIncludeEventTypes()
Gets array of event types, which will be recorded.
|
String[] |
GridConfiguration.getIncludeProperties()
Gets array of system or environment properties to include into node attributes.
|
String |
GridConfiguration.getLicenseUrl()
Gets custom license file URL to be used instead of default license file location.
|
String |
GridConfiguration.getLocalHost()
Gets system-wide local address or host for all GridGain components to bind to.
|
String |
GridConfiguration.getRestSecretKey()
Gets secret key to authenticate REST requests.
|
GridSegmentationResolver[] |
GridConfiguration.getSegmentationResolvers()
Returns a collection of segmentation resolvers.
|
String |
GridConfiguration.getSmtpFromEmail()
Gets optional FROM email address for email notifications.
|
String |
GridConfiguration.getSmtpHost()
Gets SMTP host name or
null if SMTP is not configured. |
String |
GridConfiguration.getSmtpPassword()
SMTP password or
null if not used. |
String |
GridConfiguration.getSmtpUsername()
Gets SMTP username or
null if not used. |
GridStreamerConfiguration[] |
GridConfiguration.getStreamerConfiguration()
Gets streamers configurations.
|
String |
GridConfiguration.getWorkDirectory()
Gets GridGain work folder.
|
<K> GridNode |
Grid.mapKeyToNode(String cacheName,
K key)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
GridNode |
GridProjection.node()
Gets first node from the list of nodes in this projection.
|
GridNode |
GridProjection.node(UUID nid)
Gets a node for given ID from this grid projection.
|
Object |
GridClientMessageInterceptor.onReceive(Object obj)
Intercepts received objects.
|
Object |
GridClientMessageInterceptor.onSend(Object obj)
Intercepts received objects.
|
<V> V |
GridMetadataAware.putMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridMetadataAware.putMetaIfAbsent(String name,
V val)
Adds given metadata value only if it was absent.
|
Collection<GridNode> |
Grid.topology(long topVer)
Gets a topology by version.
|
| Modifier and Type | Method and Description |
|---|---|
V |
GridNodeLocalMap.addIfAbsent(K key,
Callable<V> dflt)
Gets the value with given key.
|
<V> V |
GridMetadataAware.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<K,V> GridCache<K,V> |
Grid.cache(String name)
Gets the cache instance for the given name, if one does not
exist
IllegalArgumentException will be thrown. |
<K,V> GridDataLoader<K,V> |
Grid.dataLoader(String cacheName)
Gets a new instance of data loader associated with given cache name.
|
GridProjection |
GridProjection.forAttribute(String name,
String val)
Creates projection for nodes containing given name and value
specified in user attributes.
|
GridProjection |
GridProjection.forCache(String cacheName,
String... cacheNames)
Creates projection for all nodes that have cache with specified name running.
|
GridProjection |
GridProjection.forStreamer(String streamerName,
String... streamerNames)
Creates projection for all nodes that have streamer with specified name running.
|
<T extends Throwable> |
GridIllegalStateException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
GridException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
GridRuntimeException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
static Grid |
GridGain.grid(String name)
Gets an named grid instance.
|
boolean |
GridIllegalStateException.hasCause(Class<? extends Throwable>... cls)
Checks if this exception has given class in
'cause' hierarchy. |
boolean |
GridException.hasCause(Class<? extends Throwable>... cls)
Checks if this exception has given class in
'cause' hierarchy. |
boolean |
GridRuntimeException.hasCause(Class<? extends Throwable>... cls)
Checks if this exception has given class in
'cause' hierarchy. |
void |
GridFuture.listenAsync(GridInClosure<? super GridFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
<K> Map<GridNode,Collection<K>> |
Grid.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<K> Map<GridNode,Collection<K>> |
Grid.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<K> GridNode |
Grid.mapKeyToNode(String cacheName,
K key)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
Object |
GridClientMessageInterceptor.onReceive(Object obj)
Intercepts received objects.
|
void |
GridGainListener.onStateChange(String name,
GridGainState state)
Listener for grid factory state change notifications.
|
void |
GridConfiguration.setNodeId(UUID nodeId)
Sets unique identifier for local node.
|
void |
GridConfiguration.setRestSecretKey(String restSecretKey)
Sets secret key to authenticate REST requests.
|
void |
GridConfiguration.setSegmentationResolvers(GridSegmentationResolver... segResolvers)
Sets segmentation resolvers.
|
static Grid |
GridGain.start(String springCfgPath)
Starts all grids specified within given Spring XML configuration file.
|
GridFuture<Collection<GridTuple3<String,Boolean,String>>> |
Grid.startNodes(Collection<Map<String,Object>> hosts,
Map<String,Object> dflts,
boolean restart,
int timeout,
int maxConn)
Starts one or more nodes on remote host(s).
|
static GridGainState |
GridGain.state(String name)
Gets states of named grid.
|
static boolean |
GridGain.stop(String name,
boolean cancel)
Stops named grid.
|
void |
GridFuture.stopListenAsync(GridInClosure<? super GridFuture<R>>... lsnr)
Removes given listeners from the future.
|
GridStreamer |
Grid.streamer(String name)
Gets an instance of streamer by name, if one does not exist then
IllegalArgumentException will be thrown. |
| Constructor and Description |
|---|
GridDeploymentException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
GridEmptyProjectionException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
GridException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
GridFutureCancelledException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
GridFutureTimeoutException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
GridIllegalStateException(String msg,
Throwable cause)
Constructs exception with given message and cause.
|
GridRuntimeException(String msg,
Throwable cause)
Constructs runtime grid exception with given message and cause.
|
GridTopologyException(String msg,
Throwable cause)
Creates new topology exception with given error message and optional
nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntry<K,V> |
GridCacheProjection.entry(K key)
Gets entry from cache with the specified key.
|
Set<GridCacheEntry<K,V>> |
GridCacheProjection.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
static GridCachePeekMode |
GridCachePeekMode.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheAtomicWriteOrderMode |
GridCacheAtomicWriteOrderMode.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheAtomicityMode |
GridCacheAtomicityMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheTxState |
GridCacheTxState.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheTxConcurrency |
GridCacheTxConcurrency.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheFlag |
GridCacheFlag.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCachePreloadMode |
GridCachePreloadMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheMode |
GridCacheMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheDistributionMode |
GridCacheDistributionMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheTxIsolation |
GridCacheTxIsolation.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheWriteSynchronizationMode |
GridCacheWriteSynchronizationMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
V |
GridCacheEntry.get()
This method has the same semantic as
GridCacheProjection.get(Object) method. |
V |
GridCacheProjection.get(K key)
Retrieves value mapped to the specified key from cache.
|
GridDrReceiverCacheConfiguration |
GridCacheConfiguration.getDrReceiverConfiguration()
Gets data center replication receive configuration.
|
GridDrSenderCacheConfiguration |
GridCacheConfiguration.getDrSenderConfiguration()
Gets data center replication send configuration.
|
<K,V> GridCacheEvictionPolicy<K,V> |
GridCacheConfiguration.getEvictionPolicy()
Gets cache eviction policy.
|
<K,V> GridCacheInterceptor<K,V> |
GridCacheConfiguration.getInterceptor()
Gets cache interceptor.
|
<K,V> GridCacheEvictionPolicy<K,V> |
GridCacheConfiguration.getNearEvictionPolicy()
Gets eviction policy for
near cache which is different from the one used for
partitioned cache. |
V |
GridCacheEntry.getValue()
This method has the same semantic as
GridCacheEntry.get() method, however it
wraps GridException into GridRuntimeException if failed in order to
comply with Map.Entry interface. |
V |
GridCacheInterceptor.onBeforePut(K key,
V oldVal,
V newVal)
This method is called within
GridCacheProjection.put(Object, Object, GridPredicate[])
and similar operations before new value is stored in cache. |
V |
GridCacheInterceptorAdapter.onBeforePut(K key,
V oldVal,
V newVal)
This method is called within
GridCacheProjection.put(Object, Object, GridPredicate[])
and similar operations before new value is stored in cache. |
GridBiTuple<Boolean,V> |
GridCacheInterceptor.onBeforeRemove(K key,
V val)
This method is called within
GridCacheProjection.remove(Object, GridPredicate[])
and similar operations to provide control over returned value. |
GridBiTuple<Boolean,V> |
GridCacheInterceptorAdapter.onBeforeRemove(K key,
V val)
This method is called within
GridCacheProjection.remove(Object, GridPredicate[])
and similar operations to provide control over returned value. |
V |
GridCacheInterceptor.onGet(K key,
V val)
This method is called within
GridCacheProjection.get(Object)
and similar operations to provide control over returned value. |
V |
GridCacheInterceptorAdapter.onGet(K key,
V val)
This method is called within
GridCacheProjection.get(Object)
and similar operations to provide control over returned value. |
V |
GridCacheEntry.peek()
This method has the same semantic as
GridCacheProjection.peek(Object) method. |
V |
GridCacheEntry.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridCacheProjection.peek(K key)
Peeks at in-memory cached value using default
GridCachePeekMode.SMART
peek mode. |
V |
GridCacheProjection.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
GridCacheProjection.promote(K key)
This method promotes cache entry from offheap by given key, if any, from offheap or swap storage
into memory.
|
V |
GridCacheProjection.put(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
V |
GridCacheProjection.putIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
GridCacheEntry<K,V> |
GridCache.randomEntry()
Gets a random entry out of cache.
|
V |
GridCacheEntry.reload()
This method has the same semantic as
GridCacheProjection.reload(Object) method. |
V |
GridCacheProjection.reload(K key)
Reloads a single key from persistent storage.
|
V |
GridCacheEntry.remove(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.remove(Object, GridPredicate[]) method. |
V |
GridCacheProjection.remove(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mapping from cache.
|
V |
GridCacheProjection.replace(K key,
V val)
Stores given key-value pair in cache only if if there is a previous mapping for it.
|
V |
GridCacheEntry.replace(V val)
This method has the same semantic as
GridCacheProjection.replace(Object, Object) method. |
V |
GridCacheEntry.set(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
V |
GridCacheEntry.setIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putIfAbsent(Object, Object) method. |
V |
GridCacheEntry.setValue(V val)
This method has the same semantic as
GridCacheEntry.set(Object, GridPredicate[]) method, however it
wraps GridException into GridRuntimeException if failed in order to
comply with Map.Entry interface. |
GridCacheTx |
GridCacheProjection.tx()
Gets transaction started by this thread or
null if this thread does
not have a transaction. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheProjection.evictAll(Collection<? extends K> keys)
Attempts to evict all entries associated with keys.
|
GridCacheProjection<K,V> |
GridCacheProjection.flagsOff(GridCacheFlag... flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheProjection.flagsOn(GridCacheFlag... flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
Map<K,V> |
GridCacheProjection.getAll(Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
GridFuture<Map<K,V>> |
GridCacheProjection.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
void |
GridCache.loadCache(GridBiPredicate<K,V> p,
long ttl,
Object... args)
Delegates to
GridCacheStore.loadCache(GridBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
GridCache.loadCache(GridBiPredicate<K,V> p,
long ttl,
Object... args)
Delegates to
GridCacheStore.loadCache(GridBiInClosure,Object...) method
to load state from the underlying persistent storage. |
GridFuture<?> |
GridCache.loadCacheAsync(GridBiPredicate<K,V> p,
long ttl,
Object... args)
Asynchronously delegates to
GridCacheStore.loadCache(GridBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
GridFuture<?> |
GridCache.loadCacheAsync(GridBiPredicate<K,V> p,
long ttl,
Object... args)
Asynchronously delegates to
GridCacheStore.loadCache(GridBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
boolean |
GridCacheProjection.lock(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
GridCacheEntry.lock(long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Synchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
boolean |
GridCacheProjection.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheProjection.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProjection.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProjection.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProjection.lockAsync(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
GridFuture<Boolean> |
GridCacheEntry.lockAsync(long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
V |
GridCacheInterceptor.onBeforePut(K key,
V oldVal,
V newVal)
This method is called within
GridCacheProjection.put(Object, Object, GridPredicate[])
and similar operations before new value is stored in cache. |
V |
GridCacheInterceptorAdapter.onBeforePut(K key,
V oldVal,
V newVal)
This method is called within
GridCacheProjection.put(Object, Object, GridPredicate[])
and similar operations before new value is stored in cache. |
GridBiTuple<Boolean,V> |
GridCacheInterceptor.onBeforeRemove(K key,
V val)
This method is called within
GridCacheProjection.remove(Object, GridPredicate[])
and similar operations to provide control over returned value. |
GridBiTuple<Boolean,V> |
GridCacheInterceptorAdapter.onBeforeRemove(K key,
V val)
This method is called within
GridCacheProjection.remove(Object, GridPredicate[])
and similar operations to provide control over returned value. |
V |
GridCacheInterceptor.onGet(K key,
V val)
This method is called within
GridCacheProjection.get(Object)
and similar operations to provide control over returned value. |
void |
GridCacheTxSynchronization.onStateChanged(GridCacheTxState prevState,
GridCacheTxState newState,
GridCacheTx tx)
State change callback for transaction.
|
V |
GridCacheEntry.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridCacheProjection.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
GridCacheProjection<K,V> |
GridCacheProjection.projection(GridBiPredicate<K,V> p)
Gets cache projection based on given key-value predicate.
|
GridCacheProjection<K,V> |
GridCacheProjection.projection(GridPredicate<GridCacheEntry<K,V>> filter)
Gets cache projection based on given entry filter.
|
void |
GridCacheProjection.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
V |
GridCacheProjection.put(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
void |
GridCacheProjection.putAll(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pairs in cache.
|
void |
GridCacheProjection.putAll(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pairs in cache.
|
GridFuture<?> |
GridCacheProjection.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<?> |
GridCacheProjection.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<V> |
GridCacheProjection.putAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously stores given key-value pair in cache.
|
boolean |
GridCacheProjection.putx(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
GridFuture<Boolean> |
GridCacheProjection.putxAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
void |
GridCacheProjection.reloadAll(Collection<? extends K> keys)
Reloads specified entries from underlying persistent storage.
|
GridFuture<?> |
GridCacheProjection.reloadAllAsync(Collection<? extends K> keys)
Asynchronously reloads all specified entries from underlying
persistent storage.
|
V |
GridCacheEntry.remove(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.remove(Object, GridPredicate[]) method. |
V |
GridCacheProjection.remove(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mapping from cache.
|
void |
GridCacheProjection.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheProjection.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheProjection.removeAll(GridPredicate<GridCacheEntry<K,V>>... filter)
Removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
GridFuture<?> |
GridCacheProjection.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProjection.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProjection.removeAllAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
GridFuture<V> |
GridCacheEntry.removeAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removeAsync(Object, GridPredicate[]) method. |
boolean |
GridCacheEntry.removex(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removex(Object, GridPredicate[]) method. |
boolean |
GridCacheProjection.removex(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mapping from cache.
|
GridFuture<Boolean> |
GridCacheEntry.removexAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removexAsync(Object, GridPredicate[]) method. |
GridFuture<Boolean> |
GridCacheProjection.removexAsync(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes given key mapping from cache.
|
V |
GridCacheEntry.set(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
GridFuture<V> |
GridCacheEntry.setAsync(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putAsync(Object, Object, GridPredicate[]) method. |
void |
GridCacheConfiguration.setEvictionPolicy(GridCacheEvictionPolicy evictPlc)
Sets cache eviction policy.
|
void |
GridCacheConfiguration.setNearEvictionPolicy(GridCacheEvictionPolicy nearEvictPlc)
Sets eviction policy for near cache.
|
boolean |
GridCacheEntry.setx(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putx(Object, Object, GridPredicate[]) method. |
GridFuture<Boolean> |
GridCacheEntry.setxAsync(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putxAsync(Object, Object, GridPredicate[]) method. |
boolean |
GridCacheEntry.setxIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putxIfAbsent(Object, Object) method. |
void |
GridCacheProjection.transformAll(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
void |
GridCacheProjection.transformAll(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
GridFuture<?> |
GridCacheProjection.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridCacheProjection.transformAllAsync(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
void |
GridCache.txSynchronize(GridCacheTxSynchronization syncs)
Registers transactions synchronizations for all transactions started by this cache.
|
void |
GridCache.txUnsynchronize(GridCacheTxSynchronization syncs)
Removes transaction synchronizations.
|
void |
GridCacheProjection.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given keys only if current thread owns the locks.
|
void |
GridCacheProjection.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given keys only if current thread owns the locks.
|
| Constructor and Description |
|---|
GridCacheFlagException(Collection<GridCacheFlag> flags) |
GridCacheFlagException(GridCacheFlag... flags) |
| Modifier and Type | Method and Description |
|---|---|
GridDiscoveryEvent |
GridCacheAffinityFunctionContext.discoveryEvent()
Gets discovery event caused topology change.
|
GridNode |
GridCacheAffinity.mapKeyToNode(K key)
This method provides ability to detect to which primary node the given key
is mapped.
|
List<GridNode> |
GridCacheAffinityFunctionContext.previousAssignment(int part)
Gets affinity assignment for given partition on previous topology version.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridNode,Collection<K>> |
GridCacheAffinity.mapKeysToNodes(Collection<? extends K> keys)
This method provides ability to detect which keys are mapped to which nodes.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiPredicate<GridNode,GridNode> |
GridCacheConsistentHashAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheConsistentHashAffinityFunction.setBackupFilter(GridBiPredicate<GridNode,GridNode> backupFilter)
Sets optional backup filter.
|
| Constructor and Description |
|---|
GridCacheConsistentHashAffinityFunction(int parts,
GridBiPredicate<GridNode,GridNode> backupFilter)
Initializes optional counts for replicas and backups.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiPredicate<GridNode,GridNode> |
GridCacheRendezvousAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
| Modifier and Type | Method and Description |
|---|---|
List<GridNode> |
GridCacheRendezvousAffinityFunction.assignPartition(int part,
List<GridNode> nodes,
int backups,
Map<UUID,Collection<GridNode>> neighborhoodCache)
Returns collection of nodes (primary first) for specified partition.
|
void |
GridCacheRendezvousAffinityFunction.setBackupFilter(GridBiPredicate<GridNode,GridNode> backupFilter)
Sets optional backup filter.
|
| Constructor and Description |
|---|
GridCacheRendezvousAffinityFunction(int parts,
GridBiPredicate<GridNode,GridNode> backupFilter)
Initializes optional counts for replicas and backups.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridCacheCloner.cloneValue(T val) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheAtomicLong |
GridCacheDataStructures.atomicLong(String name,
long initVal,
boolean create)
Will get a atomic long from cache and create one if it has not been created yet and
create flag
is true. |
<T> GridCacheAtomicReference<T> |
GridCacheDataStructures.atomicReference(String name,
T initVal,
boolean create)
Will get a atomic reference from cache and create one if it has not been created yet and
create flag
is true. |
GridCacheAtomicSequence |
GridCacheDataStructures.atomicSequence(String name,
long initVal,
boolean create)
Will get an atomic sequence from cache and create one if it has not been created yet and
create flag
is true. |
<T,S> GridCacheAtomicStamped<T,S> |
GridCacheDataStructures.atomicStamped(String name,
T initVal,
S initStamp,
boolean create)
Will get a atomic stamped from cache and create one if it has not been created yet and
create flag
is true. |
GridCacheCountDownLatch |
GridCacheDataStructures.countDownLatch(String name,
int cnt,
boolean autoDel,
boolean create)
Gets or creates count down latch.
|
T |
GridCacheQueue.peek() |
T |
GridCacheQueue.poll() |
T |
GridCacheQueue.poll(long timeout,
TimeUnit unit) |
<T> GridCacheQueue<T> |
GridCacheDataStructures.queue(String name,
int cap,
boolean collocated,
boolean create)
Will get a named queue from cache and create one if it has not been created yet and
create flag
is true. |
<T> GridCacheSet<T> |
GridCacheDataStructures.set(String name,
boolean collocated,
boolean create)
Will get a named set from cache and create one if it has not been created yet and
create flag
is true. |
T |
GridCacheQueue.take() |
| Modifier and Type | Method and Description |
|---|---|
<T> GridCacheAtomicReference<T> |
GridCacheDataStructures.atomicReference(String name,
T initVal,
boolean create)
Will get a atomic reference from cache and create one if it has not been created yet and
create flag
is true. |
<T,S> GridCacheAtomicStamped<T,S> |
GridCacheDataStructures.atomicStamped(String name,
T initVal,
S initStamp,
boolean create)
Will get a atomic stamped from cache and create one if it has not been created yet and
create flag
is true. |
<T,S> GridCacheAtomicStamped<T,S> |
GridCacheDataStructures.atomicStamped(String name,
T initVal,
S initStamp,
boolean create)
Will get a atomic stamped from cache and create one if it has not been created yet and
create flag
is true. |
| Constructor and Description |
|---|
GridCacheDataStructureInvalidException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
GridCacheDataStructureInvalidRuntimeException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
GridCacheDataStructureRemovedException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
GridCacheDataStructureRemovedRuntimeException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiPredicate<K,V> |
GridCacheContinuousQuery.filter()
Gets key-value filter.
|
T |
GridCacheQueryFuture.next()
Returns next element from result set.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheQuery<Map.Entry<K,V>> |
GridCacheQueries.createScanQuery(GridBiPredicate<K,V> filter)
Creates user's predicate based scan query.
|
<R> GridCacheQueryFuture<R> |
GridCacheQuery.execute(GridClosure<T,R> rmtTransform,
Object... args)
Executes the query the same way as
GridCacheQuery.execute(Object...) method but transforms result remotely. |
void |
GridCacheContinuousQuery.execute(GridProjection prj)
Starts continuous query execution on provided set of nodes.
|
<R> GridCacheQueryFuture<R> |
GridCacheQuery.execute(GridReducer<T,R> rmtReducer,
Object... args)
Executes the query the same way as
GridCacheQuery.execute(Object...) method but reduces result remotely. |
GridCacheQueryFuture<T> |
GridCacheQuery.execute(Object... args)
Executes the query and returns the query future.
|
void |
GridCacheContinuousQuery.filter(GridBiPredicate<K,V> filter)
Sets optional key-value filter.
|
| Modifier and Type | Method and Description |
|---|---|
V |
GridCacheStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
protected abstract GridBiTuple<K,V> |
GridCacheLoadOnlyStoreAdapter.parse(I rec,
Object... args)
This method should transform raw data records into valid key-value pairs
to be stored into cache.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Iterator<I> |
GridCacheLoadOnlyStoreAdapter.inputIterator(Object... args)
Returns iterator of input records.
|
V |
GridCacheLoadOnlyStoreAdapter.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
V |
GridCacheStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheLoadOnlyStoreAdapter.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheStore.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheStoreAdapter.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheLoadOnlyStoreAdapter.loadCache(GridBiInClosure<K,V> c,
Object... args)
Loads all values from underlying persistent storage.
|
void |
GridCacheStore.loadCache(GridBiInClosure<K,V> clo,
Object... args)
Loads all values from underlying persistent storage.
|
protected abstract GridBiTuple<K,V> |
GridCacheLoadOnlyStoreAdapter.parse(I rec,
Object... args)
This method should transform raw data records into valid key-value pairs
to be stored into cache.
|
void |
GridCacheLoadOnlyStoreAdapter.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheStore.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheStore.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
void |
GridCacheStore.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheStore.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
| Modifier and Type | Method and Description |
|---|---|
V |
GridCacheJdbcBlobStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
void |
GridCacheJdbcBlobStore.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheJdbcBlobStore.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridComputeJobContext.affinityKey()
Gets affinity key with which job was co-located.
|
<T> T |
GridComputeJobAdapter.argument(int idx)
Gets job argument.
|
String |
GridComputeJobContext.cacheName()
Gets cache name for which job was co-located.
|
Object |
GridComputeJobAdapter.call() |
Object |
GridComputeJob.execute()
Executes this job.
|
static GridComputeTaskSessionScope |
GridComputeTaskSessionScope.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridComputeJobResultPolicy |
GridComputeJobResultPolicy.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
<K,V> V |
GridComputeTaskSession.getAttribute(K key)
Gets an attribute set by
GridComputeTaskSession.setAttribute(Object, Object) or GridComputeTaskSession.setAttributes(Map)
method. |
GridNode |
GridComputeLoadBalancer.getBalancedNode(GridComputeJob job,
Collection<GridNode> exclNodes)
Gets the next balanced node according to the underlying load balancing policy.
|
GridComputeJobSibling |
GridComputeTaskSession.getJobSibling(GridUuid jobId)
Gets job sibling for a given ID.
|
<T> T |
GridComputeJobContinuation.holdcc()
Holds (suspends) a given job indefinitely until
GridComputeJobContinuation.callcc() is called. |
<T> T |
GridComputeJobContinuationAdapter.holdcc()
Holds (suspends) a given job indefinitely until
GridComputeJobContinuation.callcc() is called. |
<T> T |
GridComputeJobContinuation.holdcc(long timeout)
Holds (suspends) a given job for specified timeout or until
GridComputeJobContinuation.callcc() is called. |
<T> T |
GridComputeJobContinuationAdapter.holdcc(long timeout)
Holds (suspends) a given job for specified timeout or until
GridComputeJobContinuation.callcc() is called. |
<T> T |
GridComputeTaskSession.loadCheckpoint(String key)
Loads job's state previously saved via
GridComputeTaskSession.saveCheckpoint(String, Object, GridComputeTaskSessionScope, long)
method from an underlying storage for a given key. |
Map<? extends GridComputeJob,GridNode> |
GridComputeTask.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
R |
GridComputeTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
<R> GridComputeTaskFuture<R> |
GridCompute.taskFuture(GridUuid sesId)
Gets task future based on execution session ID.
|
<K,V> V |
GridComputeTaskSession.waitForAttribute(K key)
Waits for the specified attribute to be set.
|
| Modifier and Type | Method and Description |
|---|---|
<R> GridFuture<R> |
GridCompute.affinityCall(String cacheName,
Object affKey,
Callable<R> job)
Executes given job on the node where data for provided affinity key is located
(a.k.a.
|
GridFuture<?> |
GridCompute.affinityRun(String cacheName,
Object affKey,
Runnable job)
Executes given job on the node where data for provided affinity key is located
(a.k.a.
|
<R,T> GridFuture<R> |
GridCompute.apply(GridClosure<T,R> job,
T arg)
Executes provided closure job on a node in this grid projection.
|
<R,T> GridFuture<Collection<R>> |
GridCompute.broadcast(GridClosure<T,R> job,
T arg)
Broadcasts given closure job with passed in argument to all nodes in grid projection.
|
<T,R> GridComputeTaskFuture<R> |
GridCompute.execute(Class<? extends GridComputeTask<T,R>> taskCls,
T arg)
Executes given task on the grid projection.
|
<T,R> GridComputeTaskFuture<R> |
GridCompute.execute(GridComputeTask<T,R> task,
T arg)
Executes given task on this grid projection.
|
<T,R> GridComputeTaskFuture<R> |
GridCompute.execute(String taskName,
T arg)
Executes given task on this grid projection.
|
GridNode |
GridComputeLoadBalancer.getBalancedNode(GridComputeJob job,
Collection<GridNode> exclNodes)
Gets the next balanced node according to the underlying load balancing policy.
|
Map<? extends GridComputeJob,GridNode> |
GridComputeTask.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
void |
GridComputeJobAdapter.setArguments(Object... args)
Sets given arguments.
|
void |
GridComputeJobContext.setAttribute(Object key,
Object val)
Sets an attribute into this job context.
|
void |
GridComputeTaskSession.setAttribute(Object key,
Object val)
Sets session attributed.
|
<K,V> boolean |
GridComputeTaskSession.waitForAttribute(K key,
V val)
Waits for the specified attribute to be set or updated with given value.
|
<K,V> boolean |
GridComputeTaskSession.waitForAttribute(K key,
V val,
long timeout)
Waits for the specified attribute to be set or updated with given value.
|
| Constructor and Description |
|---|
GridComputeExecutionRejectedException(String msg,
Throwable cause)
Creates new execution rejection exception with given error message
and optional nested exception.
|
GridComputeJobAdapter(Object... args)
Creates job with specified arguments.
|
GridComputeJobAdapter(Object arg)
Creates job with one arguments.
|
GridComputeJobContinuationAdapter(Object... args)
Creates job with specified arguments.
|
GridComputeJobContinuationAdapter(Object arg)
Creates job with one arguments.
|
GridComputeJobFailoverException(String msg,
Throwable cause)
Creates new exception with given error message
and optional nested exception.
|
GridComputeTaskCancelledException(String msg,
Throwable cause)
Creates new task cancellation exception with given error message and optional nested exception.
|
GridComputeTaskTimeoutException(String msg,
Throwable cause)
Creates task timeout exception with given task execution ID,
error message and optional nested exception.
|
GridComputeUserUndeclaredException(String msg,
Throwable cause)
Creates user undeclared exception with given task execution ID,
error message and optional nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridDataLoader.cacheName()
Name of cache to load data to.
|
| Modifier and Type | Method and Description |
|---|---|
GridFuture<?> |
GridDataLoader.addData(K key,
V val)
Adds data for loading on remote node.
|
| Modifier and Type | Method and Description |
|---|---|
V |
GridDrEntry.value()
Gets entry's value.
|
| Modifier and Type | Method and Description |
|---|---|
GridDrReceiverHubInMetrics |
GridDr.receiverHubAggregatedInMetrics(String cacheName)
Gets receiver hub incoming data metrics aggregated across all remote data centers for the given cache name.
|
GridDrReceiverHubInMetrics |
GridDr.receiverHubInMetrics(byte srcDataCenterId,
String cacheName)
Gets receiver hub incoming data metrics for the given remote data center and cache name.
|
GridDrReceiverHubOutMetrics |
GridDr.receiverHubOutMetrics(String cacheName)
Gets receiver hub outgoing data metrics for the given cache name.
|
GridDrSenderHubOutMetrics |
GridDr.senderHubAggregatedOutMetrics(String cacheName)
Gets sender hub outgoing data metrics aggregated across all remote data centers for the given cache name.
|
GridDrSenderHubInMetrics |
GridDr.senderHubInMetrics(String cacheName)
Gets sender hub incoming data metrics for specified sender cache.
|
GridDrSenderHubOutMetrics |
GridDr.senderHubOutMetrics(byte destDataCenterId,
String cacheName)
Gets sender hub outgoing data metrics for the given remote data center ID and cache name.
|
| Modifier and Type | Method and Description |
|---|---|
static GridDrReceiverCacheConflictResolverMode |
GridDrReceiverCacheConflictResolverMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
GridDrReceiverCacheConflictResolver |
GridDrReceiverCacheConfiguration.getConflictResolver()
Gets conflict resolver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDrReceiverCacheConflictContext.merge(V mergeVal,
long ttl)
Force data center replication engine to use neither old, nor new, but some other value passed
as argument.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridDrStatus.error()
Gets error description.
|
static GridDrSenderCacheMode |
GridDrSenderCacheMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridDrPauseReason |
GridDrPauseReason.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
GridDrSenderCacheMode |
GridDrSenderCacheConfiguration.getMode()
Gets mode.
|
GridDrPauseReason |
GridDrStatus.reason()
Gets pause reason.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDrSenderCacheConfiguration.setEntryFilter(GridDrSenderCacheEntryFilter entryFilter)
Set entry filter.
|
| Constructor and Description |
|---|
GridDrStatus(GridDrPauseReason reason,
String errMsg)
Constructor.
|
GridDrStatus(GridDrPauseReason reason,
String errMsg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static GridDrSenderHubLoadBalancingMode |
GridDrSenderHubLoadBalancingMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDrSenderHubConfiguration.setCacheNames(String... cacheNames)
Set cache names this sender hub works with.
|
| Modifier and Type | Method and Description |
|---|---|
static GridDrSenderHubStoreOverflowMode |
GridDrSenderHubStoreOverflowMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
GridDrSenderHubStoreEntry |
GridDrSenderHubStoreCursor.next()
Get next entry from that cursor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridCacheEvent.cacheName()
Gets cache name.
|
GridNode |
GridCacheEvent.eventNode()
Gets node which initiated cache operation or
null if that node is not available. |
<K> K |
GridCacheEvent.key()
Gets cache entry associated with event.
|
Object |
GridCacheEvent.lockId()
ID of the lock if held or null if no lock held.
|
String |
GridEventAdapter.message()
Gets optional message for this event.
|
String |
GridEvent.message()
Gets optional message for this event.
|
GridGgfsPath |
GridGgfsEvent.newPath()
New file or directory path for this event (used in
GridEventType.EVT_GGFS_FILE_RENAMED event). |
Object |
GridCacheEvent.newValue()
Gets new value for this event.
|
Object |
GridCacheEvent.oldValue()
Gets old value associated with this event.
|
String |
GridSwapSpaceEvent.space()
Gets swap space name.
|
UUID |
GridCacheEvent.subjectId()
Gets security subject ID initiated this cache event, if available.
|
UUID |
GridTaskEvent.subjectId()
Gets security subject ID initiated this task event, if available.
|
Map<String,String> |
GridGgfsEvent.updatedMeta()
Updated file metadata properties.
|
GridUuid |
GridCacheEvent.xid()
ID of surrounding cache cache transaction or null if there is
no surrounding transaction.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridEvents.localQuery(GridPredicate<T> p,
int... types)
Queries local node for events using passed-in predicate filter for event selection.
|
void |
GridEventAdapter.message(String msg)
Sets optional event message.
|
<T extends GridEvent> |
GridEvents.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteQuery(GridPredicate<T> p,
long timeout,
int... types)
Asynchronously queries nodes in this projection for events using passed in predicate filter for event
selection.
|
boolean |
GridEvents.stopLocalListen(GridPredicate<? extends GridEvent> lsnr,
int... types)
Removes local event listener.
|
<T extends GridEvent> |
GridEvents.waitForLocal(GridPredicate<T> filter,
int... types)
Gets event future that allows for asynchronous waiting for the specified events.
|
<T extends GridEvent> |
GridEvents.waitForLocal(GridPredicate<T> filter,
int... types)
Gets event future that allows for asynchronous waiting for the specified events.
|
| Constructor and Description |
|---|
GridCacheEvent(String cacheName,
GridNode node,
GridNode evtNode,
String msg,
int type,
int part,
boolean near,
Object key,
GridUuid xid,
Object lockId,
Object newVal,
boolean hasNewVal,
Object oldVal,
boolean hasOldVal,
UUID subjId)
Constructs cache event.
|
GridSwapSpaceEvent(GridNode node,
String msg,
int type,
String space)
Creates swap space event.
|
GridTaskEvent(GridNode node,
String msg,
int type,
GridUuid sesId,
String taskName,
String taskClsName,
boolean internal,
UUID subjId)
Creates task event with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static GridGgfsMode |
GridGgfsMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
String |
GridGgfsConfiguration.getDataCacheName()
Cache name to store GGFS data.
|
ExecutorService |
GridGgfsConfiguration.getDualModePutExecutorService()
Get DUAL mode put operation executor service.
|
String |
GridGgfsConfiguration.getIpcEndpointConfiguration()
Gets IPC endpoint configuration in JSON format.
|
String |
GridGgfsConfiguration.getMetaCacheName()
Cache name to store GGFS meta information.
|
String |
GridGgfsConfiguration.getName()
Gets GGFS instance name.
|
Map<String,GridGgfsMode> |
GridGgfsConfiguration.getPathModes()
Gets map of path prefixes to
GGFS modes used for them. |
String |
GridGgfsConfiguration.getSecondaryHadoopFileSystemConfigPath()
Gets path for the secondary hadoop file system config.
|
String |
GridGgfsConfiguration.getSecondaryHadoopFileSystemUri()
Gets URI of the secondary Hadoop file system, like
HDFS. |
GridGgfsFile |
GridGgfs.info(GridGgfsPath path)
Gets file information for the specified path.
|
String |
GridGgfs.name()
Gets GGFS name.
|
GridGgfsPath |
GridGgfsPath.parent()
Returns the parent of a path or
null if at root. |
String |
GridGgfsFile.property(String name,
String dfltVal)
Get file's property for specified name.
|
GridGgfsFile |
GridGgfs.update(GridGgfsPath path,
Map<String,String> props)
Updates file information for the specified path.
|
| Modifier and Type | Method and Description |
|---|---|
GridGgfsOutputStream |
GridGgfs.append(GridGgfsPath path,
int bufSize,
boolean create,
Map<String,String> props)
Opens an output stream to an existing file for appending data.
|
GridGgfsOutputStream |
GridGgfs.create(GridGgfsPath path,
int bufSize,
boolean overwrite,
GridUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
GridGgfsOutputStream |
GridGgfs.create(GridGgfsPath path,
int bufSize,
boolean overwrite,
GridUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
<T,R> GridFuture<R> |
GridGgfs.execute(Class<? extends GridGgfsTask<T,R>> taskCls,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes GGFS task asynchronously with overridden maximum range length (see
GridGgfsConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> GridFuture<R> |
GridGgfs.execute(Class<? extends GridGgfsTask<T,R>> taskCls,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes GGFS task asynchronously with overridden maximum range length (see
GridGgfsConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> GridFuture<R> |
GridGgfs.execute(Class<? extends GridGgfsTask<T,R>> taskCls,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
T arg)
Executes GGFS task asynchronously.
|
<T,R> GridFuture<R> |
GridGgfs.execute(Class<? extends GridGgfsTask<T,R>> taskCls,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
T arg)
Executes GGFS task asynchronously.
|
<T,R> GridFuture<R> |
GridGgfs.execute(GridGgfsTask<T,R> task,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes GGFS task asynchronously with overridden maximum range length (see
GridGgfsConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> GridFuture<R> |
GridGgfs.execute(GridGgfsTask<T,R> task,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes GGFS task asynchronously with overridden maximum range length (see
GridGgfsConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> GridFuture<R> |
GridGgfs.execute(GridGgfsTask<T,R> task,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
T arg)
Executes GGFS task asynchronously.
|
<T,R> GridFuture<R> |
GridGgfs.execute(GridGgfsTask<T,R> task,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
T arg)
Executes GGFS task asynchronously.
|
void |
GridGgfs.mkdirs(GridGgfsPath path,
Map<String,String> props)
Creates directories under specified path with the specified properties.
|
String |
GridGgfsFile.property(String name,
String dfltVal)
Get file's property for specified name.
|
void |
GridGgfsConfiguration.setIpcEndpointConfiguration(String ipcEndpointCfg)
Sets IPC endpoint configuration to publish GGFS over.
|
| Constructor and Description |
|---|
GridGgfsCorruptedFileException(String msg,
Throwable cause) |
GridGgfsException(String msg,
Throwable cause)
Creates an instance of GGFS exception with error message and underlying cause.
|
GridGgfsInvalidPathException(String msg,
Throwable cause)
Creates exception with given error message and exception cause.
|
GridGgfsOutOfSpaceException(String msg,
Throwable cause)
Creates an instance of GGFS exception with given error message and given exception cause.
|
GridGgfsParentNotDirectoryException(String msg,
Throwable cause) |
GridGgfsPathAlreadyExistsException(String msg,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
abstract GridGgfsJob |
GridGgfsTask.createJob(GridGgfsPath path,
GridGgfsFileRange range,
GridGgfsTaskArgs<T> args)
Callback invoked during task map procedure to create job that will process specified split
for GGFS file.
|
Map<? extends GridComputeJob,GridNode> |
GridGgfsTask.map(List<GridNode> subgrid,
GridGgfsTaskArgs<T> args)
This method is called to map or split grid task into multiple grid jobs.
|
GridGgfsFileRange |
GridGgfsRecordResolver.resolveRecords(GridGgfs ggfs,
GridGgfsInputStream stream,
GridGgfsFileRange suggestedRecord)
Adjusts record start offset and length.
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends GridComputeJob,GridNode> |
GridGgfsTask.map(List<GridNode> subgrid,
GridGgfsTaskArgs<T> args)
This method is called to map or split grid task into multiple grid jobs.
|
| Modifier and Type | Method and Description |
|---|---|
V |
GridNodeLocalMapImpl.addIfAbsent(K key,
Callable<V> dflt)
Gets the value with given key.
|
<K,V> GridCache<K,V> |
GridEx.cachex()
Gets default cache instance if one is configured or null otherwise returning even non-public caches.
|
<K,V> GridCache<K,V> |
GridEx.cachex(String name)
Gets the cache instance for the given name if one is configured or
null otherwise returning even non-public caches.
|
Object |
GridComponent.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
ExecutorService |
GridKernal.drPool()
Get DR pool.
|
ExecutorService |
GridEx.drPool()
Get DR pool.
|
String |
GridLoggerProxy.fileName()
Gets name of the file being logged to if one is configured or
null otherwise. |
static GridClosureCallMode |
GridClosureCallMode.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridTopic |
GridTopic.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
GridException |
GridJobExecuteResponse.getException() |
byte[] |
GridJobExecuteResponse.getExceptionBytes() |
Map<Object,Object> |
GridJobExecuteResponse.getJobAttributes() |
byte[] |
GridJobExecuteResponse.getJobAttributesBytes() |
GridUuid |
GridTaskSessionImpl.getJobId() |
GridUuid |
GridTaskSessionInternal.getJobId() |
Object |
GridJobExecuteResponse.getJobResult() |
byte[] |
GridJobExecuteResponse.getJobResultBytes() |
GridUuid |
GridJobCancelRequest.jobId()
Gets session ID of job to be cancelled.
|
String |
GridProductImpl.latestVersion()
Gets latest version available for download or
null if information is not available. |
GridProductLicense |
GridProductImpl.license()
Gets license descriptor for enterprise edition or
null for open source edition. |
<K> GridNode |
GridKernal.mapKeyToNode(String cacheName,
K key)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<V> V |
GridNodeLocalMapImpl.meta(String name)
Gets metadata by name.
|
Object |
GridMessageListenHandler.orderedTopic() |
<V> V |
GridNodeLocalMapImpl.removeMeta(String name)
Removes metadata by name.
|
GridUuid |
GridJobCancelRequest.sessionId()
Gets execution ID of task to be cancelled.
|
<R> GridComputeTaskFuture<R> |
GridComputeImpl.taskFuture(GridUuid sesId)
Gets task future based on execution session ID.
|
Collection<UUID> |
GridJobExecuteRequest.topology() |
GridNodeValidationResult |
GridComponent.validateNode(GridNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
| Modifier and Type | Method and Description |
|---|---|
V |
GridNodeLocalMapImpl.addIfAbsent(K key,
Callable<V> dflt)
Gets the value with given key.
|
<R> GridFuture<R> |
GridComputeImpl.affinityCall(String cacheName,
Object affKey,
Callable<R> job)
Executes given job on the node where data for provided affinity key is located
(a.k.a.
|
GridFuture<?> |
GridComputeImpl.affinityRun(String cacheName,
Object affKey,
Runnable job)
Executes given job on the node where data for provided affinity key is located
(a.k.a.
|
<T,R> GridFuture<Collection<R>> |
GridComputeImpl.apply(GridClosure<T,R> job,
Collection<? extends T> args)
Executes provided closure job on nodes within this grid projection.
|
<R,T> GridFuture<R> |
GridComputeImpl.apply(GridClosure<T,R> job,
T arg)
Executes provided closure job on a node in this grid projection.
|
<R,T> GridFuture<Collection<R>> |
GridComputeImpl.broadcast(GridClosure<T,R> job,
T arg)
Broadcasts given closure job with passed in argument to all nodes in grid projection.
|
<K,V> GridCache<K,V> |
GridKernal.cache(String name)
Gets the cache instance for the given name, if one does not
exist
IllegalArgumentException will be thrown. |
Collection<GridCache<?,?>> |
GridEx.cachesx(GridPredicate<? super GridCache<?,?>>... p)
Gets configured cache instance that satisfy all provided predicates including non-public caches.
|
<K,V> GridCache<K,V> |
GridKernal.cachex(String name)
Gets the cache instance for the given name if one is configured or
null otherwise returning even non-public caches.
|
<K,V> GridCache<K,V> |
GridEx.cachex(String name)
Gets the cache instance for the given name if one is configured or
null otherwise returning even non-public caches.
|
<K,V> GridDataLoader<K,V> |
GridKernal.dataLoader(String cacheName)
Gets a new instance of data loader associated with given cache name.
|
<T,R> GridComputeTaskFuture<R> |
GridComputeImpl.execute(Class<? extends GridComputeTask<T,R>> taskCls,
T arg)
Executes given task on the grid projection.
|
<T,R> GridComputeTaskFuture<R> |
GridComputeImpl.execute(GridComputeTask<T,R> task,
T arg)
Executes given task on this grid projection.
|
<T,R> GridComputeTaskFuture<R> |
GridComputeImpl.execute(String taskName,
T arg)
Executes given task on this grid projection.
|
GridProjection |
GridProjectionAdapter.forAttribute(String name,
String val)
Creates projection for nodes containing given name and value
specified in user attributes.
|
GridProjection |
GridProjectionAdapter.forCache(String cacheName,
String... cacheNames)
Creates projection for all nodes that have cache with specified name running.
|
GridProjection |
GridProjectionAdapter.forCache(String cacheName,
String... cacheNames)
Creates projection for all nodes that have cache with specified name running.
|
GridProjection |
GridProjectionAdapter.forStreamer(String streamerName,
String... streamerNames)
Creates projection for all nodes that have streamer with specified name running.
|
GridProjection |
GridProjectionAdapter.forStreamer(String streamerName,
String... streamerNames)
Creates projection for all nodes that have streamer with specified name running.
|
static Grid |
GridGainEx.grid(String name)
Gets an named grid instance.
|
static GridKernal |
GridGainEx.gridx(String name)
Gets grid instance without waiting its initialization.
|
<K,V> GridCacheAdapter<K,V> |
GridKernal.internalCache(String name)
USED ONLY FOR TESTING.
|
void |
GridMessagingImpl.localListen(Object topic,
GridBiPredicate<UUID,?> p)
Adds local listener for given topic on local node only.
|
<T extends GridEvent> |
GridEventsImpl.localQuery(GridPredicate<T> p,
int... types)
Queries local node for events using passed-in predicate filter for event selection.
|
void |
GridPerformanceSuggestions.logSuggestions(GridLogger log,
String gridName) |
<K> Map<GridNode,Collection<K>> |
GridKernal.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
boolean |
GridTaskFutureImpl.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridTaskFutureImpl.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
void |
GridJobResultImpl.onResponse(Object data,
GridException ex,
Map<Object,Object> jobAttrs,
boolean isCancelled) |
void |
GridJobResultImpl.onResponse(Object data,
GridException ex,
Map<Object,Object> jobAttrs,
boolean isCancelled) |
void |
GridJobResultImpl.onResponse(Object data,
GridException ex,
Map<Object,Object> jobAttrs,
boolean isCancelled) |
<T extends GridEvent> |
GridEventsImpl.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
GridFuture<UUID> |
GridMessagingImpl.remoteListen(Object topic,
GridBiPredicate<UUID,?> p)
Adds a message listener for a given topic to all nodes in the projection (possibly including
this node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteQuery(GridPredicate<T> p,
long timeout,
int... types)
Asynchronously queries nodes in this projection for events using passed in predicate filter for event
selection.
|
void |
GridMessagingImpl.send(Object topic,
Collection<?> msgs)
Sends given messages with specified topic to the nodes in this projection.
|
void |
GridMessagingImpl.send(Object topic,
Object msg)
Sends given message with specified topic to the nodes in this projection.
|
void |
GridMessagingImpl.sendOrdered(Object topic,
Object msg,
long timeout)
Sends given message with specified topic to the nodes in this projection.
|
void |
GridJobSessionImpl.setAttribute(Object key,
Object val)
Sets session attributed.
|
void |
GridJobContextImpl.setAttribute(Object key,
Object val)
Sets an attribute into this job context.
|
void |
GridKernal.start(GridConfiguration cfg,
ExecutorService drPool,
GridAbsClosure errHnd) |
static Grid |
GridGainEx.start(GridConfiguration cfg,
GridSpringResourceContext springCtx)
Starts grid with given configuration.
|
static Grid |
GridGainEx.start(GridSpringResourceContext springCtx)
Starts grid with default configuration.
|
static Grid |
GridGainEx.start(String springCfgPath)
Starts all grids specified within given Spring XML configuration file.
|
static Grid |
GridGainEx.start(String springCfgPath,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration file.
|
static Grid |
GridGainEx.start(URL springCfgUrl,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration file URL.
|
GridFuture<Collection<GridTuple3<String,Boolean,String>>> |
GridKernal.startNodes(Collection<Map<String,Object>> hosts,
Map<String,Object> dflts,
boolean restart,
int timeout,
int maxConn)
Starts one or more nodes on remote host(s).
|
static GridGainState |
GridGainEx.state(String name)
Gets states of named grid.
|
static boolean |
GridGainEx.stop(String name,
boolean cancel)
Stops named grid.
|
boolean |
GridEventsImpl.stopLocalListen(GridPredicate<? extends GridEvent> lsnr,
int... types)
Removes local event listener.
|
void |
GridMessagingImpl.stopLocalListen(Object topic,
GridBiPredicate<UUID,?> p)
Unregisters local listener for given topic on local node only.
|
GridStreamer |
GridKernal.streamer(String name)
Gets an instance of streamer by name, if one does not exist then
IllegalArgumentException will be thrown. |
<K,V> boolean |
GridJobSessionImpl.waitForAttribute(K key,
V val)
Waits for the specified attribute to be set or updated with given value.
|
<K,V> boolean |
GridJobSessionImpl.waitForAttribute(K key,
V val,
long timeout)
Waits for the specified attribute to be set or updated with given value.
|
<T extends GridEvent> |
GridEventsImpl.waitForLocal(GridPredicate<T> filter,
int... types)
Gets event future that allows for asynchronous waiting for the specified events.
|
<T extends GridEvent> |
GridEventsImpl.waitForLocal(GridPredicate<T> filter,
int... types)
Gets event future that allows for asynchronous waiting for the specified events.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GridManagerAdapter.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
Object |
GridNoopManagerAdapter.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
GridNodeValidationResult |
GridManagerAdapter.validateNode(GridNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
GridNodeValidationResult |
GridNoopManagerAdapter.validateNode(GridNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
GridManagerAdapter.getSpi(String name) |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
GridCheckpointManager.loadCheckpoint(GridTaskSessionInternal ses,
String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCollisionManager.setCollisionExternalListener(GridCollisionExternalListener lsnr) |
| Modifier and Type | Method and Description |
|---|---|
Object |
GridIoUserMessage.body() |
byte[] |
GridIoUserMessage.bodyBytes() |
GridUuid |
GridIoUserMessage.classLoaderId() |
GridDeployment |
GridIoUserMessage.deployment() |
String |
GridIoUserMessage.deploymentClassName() |
GridDeploymentMode |
GridIoUserMessage.deploymentMode() |
static GridIoPolicy |
GridIoPolicy.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
Map<UUID,GridUuid> |
GridIoUserMessage.loaderParticipants() |
Object |
GridIoUserMessage.topic() |
byte[] |
GridIoUserMessage.topicBytes() |
String |
GridIoUserMessage.userVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridIoManager.addUserMessageListener(Object topic,
GridBiPredicate<UUID,?> p) |
void |
GridIoManager.addUserMessageListener(Object topic,
GridBiPredicate<UUID,?> p) |
boolean |
GridIoManager.removeMessageListener(GridTopic topic,
GridMessageListener lsnr) |
boolean |
GridIoManager.removeMessageListener(Object topic,
GridMessageListener lsnr) |
void |
GridIoManager.removeUserMessageListener(Object topic,
GridBiPredicate<UUID,?> p) |
void |
GridIoManager.sendUserMessage(Collection<? extends GridNode> nodes,
Object msg,
Object topic,
boolean ordered,
long timeout)
Sends a peer deployable user message.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GridDeployment.annotatedValue(Object target,
Class<? extends Annotation> annCls)
Gets value of annotated field or method.
|
GridDeployment |
GridDeploymentManager.deploy(Class<?> cls,
ClassLoader clsLdr) |
Class<?> |
GridDeployment.deployedClass(String clsName,
String... alias)
Gets class for a name.
|
GridUuid |
GridDeploymentManager.getClassLoaderId(ClassLoader ldr) |
GridDeployment |
GridDeploymentPerVersionStore.getDeployment(org.gridgain.grid.kernal.managers.deployment.GridDeploymentMetadata meta) |
GridDeployment |
GridDeploymentStore.getDeployment(org.gridgain.grid.kernal.managers.deployment.GridDeploymentMetadata meta) |
GridDeployment |
GridDeploymentManager.getDeployment(GridUuid ldrId)
Gets any deployment by loader ID.
|
GridDeployment |
GridDeploymentStore.getDeployment(GridUuid ldrId)
Gets class loader based on ID.
|
GridDeployment |
GridDeploymentManager.getDeployment(String rsrcName) |
GridDeployment |
GridDeploymentManager.getGlobalDeployment(GridDeploymentMode depMode,
String rsrcName,
String clsName,
String userVer,
UUID sndNodeId,
GridUuid clsLdrId,
Map<UUID,GridUuid> participants,
GridPredicate<GridNode> nodeFilter) |
GridDeployment |
GridDeploymentManager.getLocalDeployment(String rsrcName) |
<T> T |
GridDeployment.newInstance(Class<T> cls) |
Map<UUID,GridUuid> |
GridDeployment.participants() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDeploymentStore.explicitUndeploy(UUID nodeId,
String rsrcName) |
Map<String,Class<? extends GridComputeTask<?,?>>> |
GridDeploymentManager.findAllTasks(GridPredicate<? super Class<? extends GridComputeTask<?,?>>>... p) |
GridDeployment |
GridDeploymentManager.getGlobalDeployment(GridDeploymentMode depMode,
String rsrcName,
String clsName,
String userVer,
UUID sndNodeId,
GridUuid clsLdrId,
Map<UUID,GridUuid> participants,
GridPredicate<GridNode> nodeFilter) |
boolean |
GridDeployment.internalTask(GridComputeTask task,
Class<?> taskCls)
Checks whether task class is annotated with
GridInternal. |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridDiscoveryManager.node(UUID nodeId) |
Collection<GridNode> |
GridDiscoveryManager.topology(long topVer)
Gets topology by specified version from history storage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridDiscoveryManager.aliveAll(Collection<UUID> nodeIds) |
Collection<GridNode> |
GridDiscoveryManager.aliveCacheNodes(String cacheName,
long topVer)
Gets cache nodes for cache with given name.
|
Collection<GridNode> |
GridDiscoveryManager.aliveRemoteCacheNodes(String cacheName,
long topVer)
Gets cache remote nodes for cache with given name.
|
Collection<GridNode> |
GridDiscoveryManager.cacheAffinityNodes(String cacheName,
long topVer)
Gets cache nodes for cache with given name that participate in affinity calculation.
|
Collection<GridNode> |
GridDiscoveryManager.cacheNodes(String cacheName,
long topVer)
Gets cache nodes for cache with given name.
|
boolean |
GridDiscoveryManager.hasNearCache(String cacheName,
long topVer)
Checks if cache with given name has at least one node with near cache enabled.
|
Collection<GridNode> |
GridDiscoveryManager.nodes(Collection<UUID> ids,
GridPredicate<UUID>... p)
Gets collection of node for given node IDs and predicates.
|
Collection<GridNode> |
GridDiscoveryManager.remoteCacheNodes(String cacheName,
long topVer)
Gets cache remote nodes for cache with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEventStorageManager.addLocalEventListener(GridLocalEventListener lsnr,
int type,
int... types)
Adds local event listener.
|
boolean |
GridEventStorageManager.removeLocalEventListener(GridLocalEventListener lsnr,
int... types)
Removes listener for specified events, if any.
|
boolean |
GridEventStorageManager.removeLocalEventListener(GridPredicate<? extends GridEvent> lsnr,
int... types)
Removes user listener for specified events, if any.
|
<T extends GridEvent> |
GridEventStorageManager.waitForEvent(GridPredicate<T> p,
int... types) |
<T extends GridEvent> |
GridEventStorageManager.waitForEvent(GridPredicate<T> p,
int... types) |
GridEvent |
GridEventStorageManager.waitForEvent(long timeout,
Runnable c,
GridPredicate<? super GridEvent> p,
int... types) |
GridEvent |
GridEventStorageManager.waitForEvent(long timeout,
Runnable c,
GridPredicate<? super GridEvent> p,
int... types) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridIndexingManager.onUndeploy(String space,
ClassLoader ldr)
Removes index tables for all classes belonging to given class loader.
|
<K,V> GridIndexingFieldsResult |
GridIndexingManager.queryFields(String spi,
String space,
String clause,
Collection<Object> params,
boolean includeBackups,
GridIndexingQueryFilter<K,V>... filters) |
<K,V> GridIndexingFieldsResult |
GridIndexingManager.queryFields(String spi,
String space,
String clause,
Collection<Object> params,
boolean includeBackups,
GridIndexingQueryFilter<K,V>... filters) |
GridFuture<?> |
GridIndexingManager.rebuildAllIndexes(String spi)
Rebuilds all search indexes for given spi.
|
GridFuture<?> |
GridIndexingManager.rebuildIndexes(String spi,
String space,
Class<?> valType)
Rebuilds all search indexes of given value type for given space of spi.
|
GridFuture<?> |
GridIndexingManager.rebuildIndexes(String spi,
String space,
Class<?> valType)
Rebuilds all search indexes of given value type for given space of spi.
|
<K> boolean |
GridIndexingManager.remove(String spi,
String space,
K key,
byte[] keyBytes) |
long |
GridIndexingManager.size(String spi,
String space,
Class<?> valType)
Returns number of objects of given type for given space of spi.
|
long |
GridIndexingManager.size(String spi,
String space,
Class<?> valType)
Returns number of objects of given type for given space of spi.
|
GridIndexingSpi |
GridIndexingManager.spi(String name)
FOR TESTING ONLY
|
<K,V> void |
GridIndexingManager.store(String spi,
String space,
K key,
byte[] keyBytes,
V val,
byte[] valBytes,
byte[] ver,
long expirationTime)
Writes key-value pair to index.
|
<K,V> void |
GridIndexingManager.store(String spi,
String space,
K key,
byte[] keyBytes,
V val,
byte[] valBytes,
byte[] ver,
long expirationTime)
Writes key-value pair to index.
|
Collection<GridIndexingTypeDescriptor> |
GridIndexingManager.types(String space)
Gets types for space.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridSecureSessionManager.updateSession(GridSecuritySubjectType subjType,
UUID subjId,
GridSecurityContext subjCtx,
Object params)
Generates secure session token.
|
GridSecureSession |
GridSecureSessionManager.validateSession(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params) |
GridSecureSession |
GridSecureSessionManager.validateSession(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridOsSecureSessionManager.updateSession(GridSecuritySubjectType subjType,
UUID subjId,
GridSecurityContext subjCtx,
Object params)
Generates secure session token.
|
GridSecureSession |
GridOsSecureSessionManager.validateSession(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params) |
GridSecureSession |
GridOsSecureSessionManager.validateSession(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridSecurityManager.authorize(String name,
GridSecurityPermission perm,
GridSecurityContext securityCtx)
Authorizes grid operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridOsSecurityManager.authorize(String name,
GridSecurityPermission perm,
GridSecurityContext securityCtx)
Authorizes grid operation.
|
| Modifier and Type | Method and Description |
|---|---|
<K> GridCloseableIterator<K> |
GridSwapSpaceManager.keysIterator(String spaceName,
ClassLoader ldr)
Gets iterator over space entries.
|
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceManager.rawIterator(String spaceName)
Gets iterator over space entries.
|
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceManager.rawIterator(String spaceName,
int part) |
byte[] |
GridSwapSpaceManager.read(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.read(String spaceName,
Object key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.readValue(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridSwapSpaceManager.clear(String spaceName) |
<K> GridCloseableIterator<K> |
GridSwapSpaceManager.keysIterator(String spaceName,
ClassLoader ldr)
Gets iterator over space entries.
|
<K> GridCloseableIterator<K> |
GridSwapSpaceManager.keysIterator(String spaceName,
ClassLoader ldr)
Gets iterator over space entries.
|
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceManager.rawIterator(String spaceName)
Gets iterator over space entries.
|
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceManager.rawIterator(String spaceName,
int part) |
byte[] |
GridSwapSpaceManager.read(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
byte[] |
GridSwapSpaceManager.read(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.read(String spaceName,
Object key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.read(String spaceName,
Object key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.readValue(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.readValue(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
Object key,
GridInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
Object key,
GridInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
Object key,
GridInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
long |
GridSwapSpaceManager.swapKeys(String spaceName)
Gets number of swap entries (keys).
|
long |
GridSwapSpaceManager.swapSize(String spaceName)
Gets size in bytes for swap space.
|
void |
GridSwapSpaceManager.write(String spaceName,
GridSwapKey key,
byte[] val,
ClassLoader ldr)
Writes value to swap.
|
void |
GridSwapSpaceManager.write(String spaceName,
GridSwapKey key,
byte[] val,
ClassLoader ldr)
Writes value to swap.
|
void |
GridSwapSpaceManager.write(String spaceName,
Object key,
Object val,
ClassLoader ldr)
Writes value to swap.
|
void |
GridSwapSpaceManager.write(String spaceName,
Object key,
Object val,
ClassLoader ldr)
Writes value to swap.
|
void |
GridSwapSpaceManager.write(String spaceName,
Object key,
Object val,
ClassLoader ldr)
Writes value to swap.
|
<K,V> void |
GridSwapSpaceManager.writeAll(String spaceName,
Iterable<GridCacheBatchSwapEntry<K,V>> swapped,
ClassLoader ldr)
Writes batch to swap.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GridProcessorAdapter.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
GridNodeValidationResult |
GridProcessorAdapter.validateNode(GridNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GridAffinityProcessor.affinityKey(String cacheName,
Object key)
Gets affinity key for cache key.
|
GridDiscoveryEvent |
GridCacheAffinityFunctionContextImpl.discoveryEvent()
Gets discovery event caused topology change.
|
<K> GridNode |
GridAffinityProcessor.mapKeyToNode(K key)
Maps single key to a node on default cache.
|
<K> GridNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key)
Maps single key to a node.
|
List<GridNode> |
GridCacheAffinityFunctionContextImpl.previousAssignment(int part)
Gets affinity assignment for given partition on previous topology version.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GridAffinityProcessor.affinityKey(String cacheName,
Object key)
Gets affinity key for cache key.
|
Object |
GridAffinityProcessor.affinityKey(String cacheName,
Object key)
Gets affinity key for cache key.
|
<K> Map<GridNode,Collection<K>> |
GridAffinityProcessor.mapKeysToNodes(Collection<? extends K> keys)
Maps keys to nodes on default cache.
|
<K> Map<GridNode,Collection<K>> |
GridAffinityProcessor.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
Maps keys to nodes for given cache.
|
<K> Map<GridNode,Collection<K>> |
GridAffinityProcessor.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
Maps keys to nodes for given cache.
|
<K> GridNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key)
Maps single key to a node.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridCacheMvcc.addLocal(GridCacheEntryEx<K,?> parent,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.addLocal(GridCacheEntryEx<K,?> parent,
UUID nearNodeId,
GridCacheVersion nearVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean dhtLoc) |
<V> V |
GridCacheMapEntry.addMeta(String name,
V val)
Adds a new metadata.
|
<V> V |
GridCacheFilterEvaluationEntry.addMeta(String name,
V val)
Adds a new metadata.
|
<V> V |
GridCacheMapEntry.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheFilterEvaluationEntry.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V1> V1 |
GridCacheProxyImpl.addMetaIfAbsent(String name,
Callable<V1> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheTxProxyImpl.addMetaIfAbsent(String name,
V val)
Adds given metadata value only if it was absent.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.anyOwner() |
protected <T> GridFuture<T> |
GridCacheAdapter.asyncOpAcquire()
Tries to acquire asynchronous operations permit, if limited.
|
GridFuture<?> |
GridCacheMvccManager.atomicFuture(GridCacheVersion futVer)
Gets future by given future ID.
|
GridFuture<?> |
GridCacheTxManager.awaitFinishAckAsync(UUID rmtNodeId,
long threadId)
Asynchronously waits for last finish request ack.
|
GridCacheMvccCandidate<K> |
GridCacheMapEntry.candidate(GridCacheVersion ver)
Gets lock candidate for given lock ID.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.candidate(GridCacheVersion ver)
Gets candidate for lock ID.
|
GridCacheMvccCandidate<K> |
GridCacheEntryEx.candidate(GridCacheVersion ver)
Gets lock candidate for given lock ID.
|
GridCacheMvccCandidate<K> |
GridCacheExplicitLockSpan.candidate(K key,
GridCacheVersion ver)
Gets explicit lock candidate for given key.
|
GridCacheMvccCandidate<K> |
GridCacheEntryEx.candidate(UUID nodeId,
long threadId) |
<T> T |
GridCacheContext.cloneOnFlag(T obj)
Clones cached object depending on whether or not
GridCacheFlag.CLONE flag
is set thread locally. |
<T> T |
GridCacheContext.cloneValue(T obj)
Clone cached object.
|
Throwable |
GridCacheTxLocalEx.commitError() |
GridCacheContinuousQueryManager<K,V> |
GridCacheContext.continuousQueries() |
static GridCacheMetricsAdapter |
GridCacheMetricsAdapter.copyOf(GridCacheMetrics m)
Create a copy of given metrics object.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.doneRemote(GridCacheVersion ver,
Collection<GridCacheVersion> pending,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback)
Sets remote candidate to done.
|
GridDrReceiverConflictContextImpl<K,V> |
GridCacheUpdateAtomicResult.drConflictContext() |
GridDrStatus |
GridCacheProjectionEx.drPauseState()
Get DR pause state.
|
GridDrStatus |
GridCacheProjectionImpl.drPauseState()
Get DR pause state.
|
GridDrStatus |
GridCacheAdapter.drPauseState()
Get DR pause state.
|
GridDrStatus |
GridCacheProxyImpl.drPauseState()
Get DR pause state.
|
GridCacheDrReceiveAttributes |
GridCacheAttributes.drReceiveAttributes() |
GridCacheDrSendAttributes |
GridCacheAttributes.drSendAttributes() |
GridCacheVersion |
GridCacheTxEntry.drVersion() |
GridCacheVersion |
GridCacheVersion.drVersion() |
GridCacheProjectionImpl<K,V> |
GridCacheGateway.enter(GridCacheProjectionImpl<K,V> prj) |
GridCacheEntry<K,V> |
GridCacheProjectionImpl.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridCacheAdapter.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheTxEntry<K,V> |
GridCacheTxEx.entry(K key) |
GridCacheEntry<K,V> |
GridCacheProxyImpl.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheTxEntry<K,V> |
GridCacheTxLocalAdapter.entry(K key) |
protected GridCacheEntryEx<K,V> |
GridCacheAdapter.entryExSafe(K key,
long topVer) |
GridCacheMvccCandidate<K> |
GridCacheMvccManager.explicitLock(K key,
GridCacheVersion ver)
Gets explicit lock candidate added by any thread by given key and lock version.
|
GridCacheMvccCandidate<K> |
GridCacheMvccManager.explicitLock(long threadId,
K key)
Gets last added explicit lock candidate by thread id and key.
|
static <T> T |
GridCacheUtils.failed(boolean err) |
static <T> T |
GridCacheUtils.failed(boolean err,
T val) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.firstLocal() |
GridCacheMvccCandidate<K> |
GridCacheMvcc.firstRemote() |
GridCacheFlag[] |
GridCacheContext.forceFlags(GridCacheFlag[] flags)
Force projection flags for the current thread.
|
GridCacheFlag[] |
GridCacheContext.forceLocal()
Forces LOCAL flag.
|
GridCacheFlag[] |
GridCacheContext.forceLocalRead()
Forces LOCAL and READ flags.
|
static GridCacheOperation |
GridCacheOperation.fromOrdinal(int ord) |
<T> GridCacheFuture<T> |
GridCacheMvccManager.future(GridCacheVersion ver,
GridUuid futId)
Gets future for given future ID and lock ID.
|
V |
GridCacheEvictionEntry.get()
This method has the same semantic as
GridCacheProjection.get(Object) method. |
V |
GridCacheEntryImpl.get()
This method has the same semantic as
GridCacheProjection.get(Object) method. |
byte[] |
GridCacheValueBytes.get() |
V |
GridCacheFilterEvaluationEntry.get()
This method has the same semantic as
GridCacheProjection.get(Object) method. |
V |
GridCacheAdapter.get(K key)
Retrieves value mapped to the specified key from cache.
|
V |
GridCacheProxyImpl.get(K key)
Retrieves value mapped to the specified key from cache.
|
V |
GridCacheProjectionEx.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheAdapter.get(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridCacheTxEntry<K,V> |
GridCacheTxMap.get(Object key) |
V |
GridCacheMapAdapter.get(Object key) |
Map<K,V> |
GridCacheProjectionEx.getAllOutTx(List<K> keys)
Gets values from cache.
|
Map<K,V> |
GridCacheProjectionImpl.getAllOutTx(List<K> keys)
Gets values from cache.
|
Map<K,V> |
GridCacheAdapter.getAllOutTx(List<K> keys)
Gets values from cache.
|
Map<K,V> |
GridCacheProxyImpl.getAllOutTx(List<K> keys)
Gets values from cache.
|
ClassLoader |
GridCacheDeploymentManager.getClassLoader(GridUuid ldrId) |
GridUuid |
GridCacheDeploymentManager.getClassLoaderId(ClassLoader ldr) |
GridCacheMapEntry<K,V> |
GridCacheConcurrentMap.getEntry(Object key)
Returns the entry associated with the specified key in the
HashMap.
|
V |
GridCacheProjectionEx.getForcePrimary(K key)
Gets value from cache.
|
byte[] |
GridCacheValueBytes.getIfMarshaled() |
byte[] |
GridCacheValueBytes.getIfPlain() |
V |
GridCacheEvictionEntry.getValue()
This method has the same semantic as
GridCacheEntry.get() method, however it
wraps GridException into GridRuntimeException if failed in order to
comply with Map.Entry interface. |
V |
GridCacheEntryImpl.getValue()
This method has the same semantic as
GridCacheEntry.get() method, however it
wraps GridException into GridRuntimeException if failed in order to
comply with Map.Entry interface. |
GridDeploymentInfoBean |
GridCacheDeploymentManager.globalDeploymentInfo() |
GridCacheTxEntry<K,V> |
GridCacheTxLocalEx.groupLockEntry() |
Object |
GridCacheTxEx.groupLockKey() |
GridCacheEntryInfo<K,V> |
GridCacheMapEntry.info() |
GridCacheEntryInfo<K,V> |
GridCacheEntryEx.info() |
V |
GridCacheMapEntry.innerGet(GridCacheTxEx<K,V> tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheEntryEx.innerGet(GridCacheTxEx<K,V> tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheEntryEx.innerReload(GridPredicate<GridCacheEntry<K,V>>... filter)
Reloads entry from underlying storage.
|
V |
GridCacheMapEntry.innerReload(GridPredicate<GridCacheEntry<K,V>>[] filter)
Reloads entry from underlying storage.
|
GridCloseableIterator<Map.Entry<byte[],GridCacheSwapEntry<V>>> |
GridCacheSwapManager.iterator(int part)
Gets offheap and swap iterator over partition.
|
byte[] |
GridCacheTxEntry.keyBytes() |
GridUuid |
GridCacheSwapEntry.keyClassLoaderId() |
GridDiscoveryTopologySnapshot |
GridCacheMvccManager.lastExplicitLockTopologySnapshot(long threadId) |
V |
GridCacheStoreManager.loadFromStore(GridCacheTx tx,
K key)
Loads data from persistent store.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.localCandidate(long threadId)
Gets candidate for lock ID.
|
GridCacheMvccCandidate<K> |
GridCacheEntryEx.localCandidate(long threadId) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.localCandidate(UUID nodeId,
long threadId)
Near local candidate.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.localOwner() |
GridCacheMvccCandidate<K> |
GridCacheEntryEx.localOwner() |
<T> T |
GridCacheTxManager.localTx() |
GridCacheTxEx<K,V> |
GridCacheTxManager.localTxForRecovery(GridCacheVersion nearXidVer)
Gets local transaction for pessimistic tx recovery.
|
GridCacheTxEx<K,V> |
GridCacheTxManager.localTxx() |
GridCacheMvccCandidate<K> |
GridCacheMvcc.markOwned(GridCacheVersion baseVer,
GridCacheVersion owned)
Puts owned versions in front of base.
|
protected LinkedHashMap<byte[],Boolean> |
GridCacheMessage.marshalBooleanLinkedMap(LinkedHashMap<?,Boolean> map,
GridCacheContext<K,V> ctx) |
protected List<byte[]> |
GridCacheMessage.marshalCollection(Collection<?> col,
GridCacheContext<K,V> ctx) |
protected <T> byte[][] |
GridCacheMessage.marshalFilter(GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheContext<K,V> ctx) |
protected List<GridCacheValueBytes> |
GridCacheMessage.marshalValuesCollection(Collection<?> col,
GridCacheContext<K,V> ctx) |
<V> V |
GridCacheMapEntry.meta(String name)
Gets metadata by name.
|
protected GridCacheMvcc<K> |
GridCacheMapEntry.mvccExtras() |
GridCacheVersion |
GridCacheTxManager.nearVersion(GridCacheVersion dhtVer)
Reverse mapped version look up.
|
GridCacheVersion |
GridCacheTxAdapter.nearXidVersion() |
GridCacheVersion |
GridCacheTxEx.nearXidVersion() |
V |
GridCacheUpdateAtomicResult.newValue() |
GridNode |
GridCacheContext.node(UUID nodeId) |
protected GridCacheVersion |
GridCacheMapEntry.obsoleteVersionExtras() |
GridCloseableIterator<Map.Entry<byte[],GridCacheSwapEntry<V>>> |
GridCacheSwapManager.offHeapIterator(int part)
Gets offheap iterator over partition.
|
V |
GridCacheUpdateTxResult.oldValue() |
V |
GridCacheUpdateAtomicResult.oldValue() |
<T extends GridCacheTxEx<K,V>> |
GridCacheTxManager.onCreated(T tx) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.orderCompleted(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers)
Moves completed candidates right before the base one.
|
GridFuture<?> |
GridCacheProcessor.orderedPreloadFuture(int order)
Gets preload finish future for preload-ordered cache with given order.
|
UUID |
GridCacheTxEx.otherNodeId()
Gets ID of additional node involved.
|
GridCacheVersion |
GridCacheTxEx.ownedVersion(K key)
Gets owned version for near remote transaction.
|
GridCacheVersion |
GridCacheMvccCandidate.ownerVersion() |
V |
GridCacheFilterEvaluationEntry.peek()
This method has the same semantic as
GridCacheProjection.peek(Object) method. |
GridTuple<V> |
GridCacheTxEx.peek(boolean failFast,
K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridTuple<V> |
GridCacheTxLocalAdapter.peek(boolean failFast,
K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheFilterEvaluationEntry.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridCacheEntryEx.peek(Collection<GridCachePeekMode> modes,
GridPredicate<GridCacheEntry<K,V>>... filter)
Peeks into entry without loading value or updating statistics.
|
V |
GridCacheEntryEx.peek(GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>... filter)
Peeks into entry without loading value or updating statistics.
|
V |
GridCacheMapEntry.peek(GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Peeks into entry without loading value or updating statistics.
|
V |
GridCacheProxyImpl.peek(K key)
Peeks at in-memory cached value using default
GridCachePeekMode.SMART
peek mode. |
V |
GridCacheProxyImpl.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
GridTuple<V> |
GridCacheMapEntry.peek0(boolean failFast,
GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheTxEx<K,V> tx) |
GridTuple<V> |
GridCacheEntryEx.peek0(boolean failFast,
GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheTxEx<K,V> tx) |
protected GridTuple<V> |
GridCacheAdapter.peek0(boolean failFast,
K key,
Collection<GridCachePeekMode> modes,
GridCacheTxEx<K,V> tx) |
protected GridTuple<V> |
GridCacheAdapter.peek0(boolean failFast,
K key,
GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected V |
GridCacheAdapter.peek0(K key,
Collection<GridCachePeekMode> modes,
GridCacheTxEx<K,V> tx) |
GridCacheEntryEx<K,V> |
GridCacheAdapter.peekEx(K key) |
protected GridCacheEntryEx<K,V> |
GridCacheEntryImpl.peekEx(long topVer) |
V |
GridCacheEntryEx.peekFailFast(GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>... filter)
Peeks into entry without loading value or updating statistics.
|
V |
GridCacheMapEntry.peekFailFast(GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Peeks into entry without loading value or updating statistics.
|
GridPredicate<GridCacheEntry<K,V>> |
GridCacheProjectionEx.predicate()
Gets predicate on which this projection is based on or
null
if predicate is not defined. |
GridCacheOperation |
GridCacheTxEntry.previousOperation() |
V |
GridCacheTxEntry.previousValue() |
GridNode |
GridCacheAffinityManager.primary(int part,
long topVer) |
GridNode |
GridCacheAffinityManager.primary(K key,
long topVer) |
V |
GridCacheAdapter.promote(K key)
This method promotes cache entry from offheap by given key, if any, from offheap or swap storage
into memory.
|
V |
GridCacheProxyImpl.promote(K key)
This method promotes cache entry from offheap by given key, if any, from offheap or swap storage
into memory.
|
V |
GridCacheMapAdapter.put(K key,
V value) |
V |
GridCacheProjectionEx.put(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheAdapter.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProxyImpl.put(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pair in cache.
|
V |
GridCacheMapAdapter.putIfAbsent(K key,
V val) |
V |
GridCacheAdapter.putIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
GridCacheProxyImpl.putIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
<V> V |
GridCacheMapEntry.putMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheFilterEvaluationEntry.putMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheMapEntry.putMetaIfAbsent(String name,
V val)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheFilterEvaluationEntry.putMetaIfAbsent(String name,
V val)
Adds given metadata value only if it was absent.
|
GridCacheQueryManager<K,V> |
GridCacheContext.queries() |
GridCacheMapEntry<K,V> |
GridCacheConcurrentMap.randomEntry() |
GridCacheEntry<K,V> |
GridCacheAdapter.randomEntry()
Gets a random entry out of cache.
|
GridCacheEntry<K,V> |
GridCacheProxyImpl.randomEntry()
Gets a random entry out of cache.
|
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridCacheSwapManager.rawIterator()
Gets offheap and swap iterator over partition.
|
protected V |
GridCacheMapEntry.readThrough(GridCacheTxEx<K,V> tx,
K key,
boolean reload,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId) |
static GridCacheVersion |
GridCacheUtils.readVersion(ObjectInput in)
Reads
GridCacheVersion from input stream. |
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyLocal(GridCacheMvccCandidate<K> cand) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyLocal(GridCacheVersion ver) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyNearLocal(GridCacheVersion ver,
GridCacheVersion mappedVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledBackVers,
Collection<GridCacheVersion> pending)
Marks near-local candidate as ready and makes locks reassignment.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.recheck()
Checks if lock should be assigned.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.releaseLocal()
Local local release.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.releaseLocal(long threadId)
Local release.
|
V |
GridCacheEvictionEntry.reload()
This method has the same semantic as
GridCacheProjection.reload(Object) method. |
V |
GridCacheEntryImpl.reload()
This method has the same semantic as
GridCacheProjection.reload(Object) method. |
V |
GridCacheFilterEvaluationEntry.reload()
This method has the same semantic as
GridCacheProjection.reload(Object) method. |
V |
GridCacheAdapter.reload(K key)
Reloads a single key from persistent storage.
|
V |
GridCacheProxyImpl.reload(K key)
Reloads a single key from persistent storage.
|
V |
GridCacheAdapter.reload(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Map<K,V> |
GridCacheAdapter.reloadAll(Collection<? extends K> keys,
boolean ret,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.remoteCandidate(UUID nodeId,
long threadId) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.remoteOwner() |
GridCacheMvccCandidate<K> |
GridCacheMvcc.remove(GridCacheVersion ver)
Removes lock even if it is not owner.
|
V |
GridCacheFilterEvaluationEntry.remove(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.remove(Object, GridPredicate[]) method. |
V |
GridCacheEvictionEntry.remove(GridPredicate<GridCacheEntry<K,V>>[] filter)
This method has the same semantic as
GridCacheProjection.remove(Object, GridPredicate[]) method. |
V |
GridCacheEntryImpl.remove(GridPredicate<GridCacheEntry<K,V>>[] filter)
This method has the same semantic as
GridCacheProjection.remove(Object, GridPredicate[]) method. |
V |
GridCacheProjectionEx.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheAdapter.remove(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mapping from cache.
|
V |
GridCacheProxyImpl.remove(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mapping from cache.
|
V |
GridCacheMapAdapter.remove(Object key) |
GridFuture<?> |
GridCacheMvccManager.removeAtomicFuture(GridCacheVersion futVer) |
GridCacheMapEntry<K,V> |
GridCacheConcurrentMap.removeEntryIfObsolete(K key)
Removes and returns the entry associated with the specified key
in the HashMap if entry is obsolete.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.removeExplicitNodeCandidates(UUID nodeId)
Removes all candidates for node.
|
<V> V |
GridCacheMapEntry.removeMeta(String name)
Removes metadata by name.
|
GridCacheVersion |
GridCacheUpdateAtomicResult.removeVersion() |
V |
GridCacheMapAdapter.replace(K key,
V val) |
V |
GridCacheAdapter.replace(K key,
V val)
Stores given key-value pair in cache only if if there is a previous mapping for it.
|
V |
GridCacheProxyImpl.replace(K key,
V val)
Stores given key-value pair in cache only if if there is a previous mapping for it.
|
V |
GridCacheEvictionEntry.replace(V val)
This method has the same semantic as
GridCacheProjection.replace(Object, Object) method. |
V |
GridCacheEntryImpl.replace(V val)
This method has the same semantic as
GridCacheProjection.replace(Object, Object) method. |
V |
GridCacheFilterEvaluationEntry.replace(V val)
This method has the same semantic as
GridCacheProjection.replace(Object, Object) method. |
V |
GridCacheFilterEvaluationEntry.set(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
V |
GridCacheEvictionEntry.set(V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
V |
GridCacheEntryImpl.set(V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
V |
GridCacheEvictionEntry.setIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putIfAbsent(Object, Object) method. |
V |
GridCacheEntryImpl.setIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putIfAbsent(Object, Object) method. |
V |
GridCacheFilterEvaluationEntry.setIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putIfAbsent(Object, Object) method. |
V |
GridCacheEvictionEntry.setValue(V val)
This method has the same semantic as
GridCacheEntry.set(Object, GridPredicate[]) method, however it
wraps GridException into GridRuntimeException if failed in order to
comply with Map.Entry interface. |
V |
GridCacheEntryImpl.setValue(V val)
This method has the same semantic as
GridCacheEntry.set(Object, GridPredicate[]) method, however it
wraps GridException into GridRuntimeException if failed in order to
comply with Map.Entry interface. |
UUID |
GridCacheProjectionImpl.subjectId()
Gets client ID for which this projection was created.
|
GridCloseableIterator<Map.Entry<byte[],GridCacheSwapEntry<V>>> |
GridCacheSwapManager.swapIterator(int part)
Gets swap space iterator over partition.
|
GridDiscoveryTopologySnapshot |
GridCacheExplicitLockSpan.topologySnapshot()
Gets actual topology snapshot for thread lock span.
|
Map<UUID,Collection<UUID>> |
GridCacheTxAdapter.transactionNodes() |
Map<UUID,Collection<UUID>> |
GridCacheTxEx.transactionNodes() |
GridCacheTx |
GridCacheAdapter.tx()
Gets transaction started by this thread or
null if this thread does
not have a transaction. |
<T extends GridCacheTxEx<K,V>> |
GridCacheTxManager.tx(GridCacheVersion txId) |
GridCacheCommittedTxInfo<K,V> |
GridCacheTxManager.txCommitted(GridCacheVersion nearTxVer,
UUID originatingNodeId,
long originatingThreadId)
Checks whether transaction with given near version was committed on this node and returns commit info.
|
GridCacheVersion |
GridCacheTxManager.txContextVersion()
Gets version of transaction in tx context or
null
if tx context is empty. |
GridCacheTxEx<K,V> |
GridCacheTxManager.txx(GridCacheVersion txId) |
GridCacheMvccCandidate<K> |
GridCacheMvccCandidate.unenter() |
protected <K1> LinkedHashMap<K1,Boolean> |
GridCacheMessage.unmarshalBooleanLinkedMap(Map<byte[],Boolean> byteMap,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
protected <T> List<T> |
GridCacheMessage.unmarshalCollection(Collection<byte[]> byteCol,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
protected <T> GridPredicate<GridCacheEntry<K,V>>[] |
GridCacheMessage.unmarshalFilter(byte[][] byteCol,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
protected <T> List<T> |
GridCacheMessage.unmarshalValueBytesCollection(Collection<GridCacheValueBytes> byteCol,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
static String |
GridCacheUtils.unmask(String cacheName)
Unmask cache name.
|
GridUnsafeMemory |
GridCacheContext.unsafeMemory() |
V |
GridCacheEntryEx.unswap() |
V |
GridCacheEntryEx.unswap(boolean ignoreFlags)
Unswap ignoring flags.
|
GridCacheEntryEx<K,V> |
GridCacheEntryImpl.unwrapNoCreate() |
GridCacheTx |
GridCacheTxManager.userTx() |
<T extends GridCacheTxLocalEx<K,V>> |
GridCacheTxManager.userTxx() |
GridNodeValidationResult |
GridCacheProcessor.validateNode(GridNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
V |
GridCacheTxEntry.value() |
V |
GridCacheReturn.value() |
byte[] |
GridCacheTxEntry.valueBytes() |
GridCacheValueBytes |
GridCacheMapEntry.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
GridCacheValueBytes |
GridCacheEntryEx.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
GridUuid |
GridCacheSwapEntry.valueClassLoaderId() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheTxManager.addCommittedTx(GridCacheVersion xidVer,
GridCacheVersion nearXidVer) |
protected GridCacheTxEntry<K,V> |
GridCacheTxLocalAdapter.addEntry(GridCacheOperation op,
V val,
GridClosure<V,V> transformClos,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
protected GridCacheTxEntry<K,V> |
GridCacheTxLocalAdapter.addEntry(GridCacheOperation op,
V val,
GridClosure<V,V> transformClos,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
protected GridCacheTxEntry<K,V> |
GridCacheTxLocalAdapter.addEntry(GridCacheOperation op,
V val,
GridClosure<V,V> transformClos,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
void |
GridCacheEventManager.addEvent(int part,
K key,
GridCacheTx tx,
GridCacheMvccCandidate<K> owner,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
GridCacheTx tx,
GridCacheMvccCandidate<K> owner,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
GridCacheTx tx,
GridCacheMvccCandidate<K> owner,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
UUID evtNodeId,
GridCacheMvccCandidate<K> owner,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
UUID evtNodeId,
GridCacheMvccCandidate<K> owner,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
UUID evtNodeId,
GridUuid xid,
Object lockId,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
UUID evtNodeId,
GridUuid xid,
Object lockId,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
UUID evtNodeId,
GridUuid xid,
Object lockId,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
void |
GridCacheEventManager.addEvent(int part,
K key,
UUID evtNodeId,
GridUuid xid,
Object lockId,
int type,
V newVal,
boolean hasNewVal,
V oldVal,
boolean hasOldVal,
UUID subjId) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.addLocal(GridCacheEntryEx<K,?> parent,
UUID nearNodeId,
GridCacheVersion nearVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean dhtLoc) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.addLocal(GridCacheEntryEx<K,?> parent,
UUID nearNodeId,
GridCacheVersion nearVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean dhtLoc) |
<V> V |
GridCacheMapEntry.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheTxProxyImpl.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheFilterEvaluationEntry.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V1> V1 |
GridCacheProxyImpl.addMetaIfAbsent(String name,
Callable<V1> c)
Adds given metadata value only if it was absent.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.addNearLocal(GridCacheEntryEx<K,?> parent,
UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle)
Adds new near local lock candidate.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.addRemote(GridCacheEntryEx<K,?> parent,
UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle,
boolean nearLoc)
Adds new remote lock candidate (either near remote or dht remote).
|
GridFuture<T> |
GridCacheTxLocalAdapter.PostLockClosure1.apply(Boolean locked,
Exception e)
Closure body.
|
GridFuture<T> |
GridCacheTxLocalAdapter.PostLockClosure2.apply(Boolean locked,
Exception e)
Closure body.
|
T |
GridCacheTxLocalAdapter.FinishClosure.apply(T t,
Exception e)
Closure body.
|
void |
GridCacheEvictionManager.batchEvict(Collection<? extends K> keys,
GridCacheVersion obsoleteVer) |
<K,V> GridCache<K,V> |
GridCacheProcessor.cache(String name) |
void |
GridCacheTxEntry.cached(GridCacheEntryEx<K,V> entry,
byte[] keyBytes) |
boolean |
GridCacheContext.cancelRemove(GridBiTuple<Boolean,?> interceptorRes) |
GridCacheMvccCandidate<K> |
GridCacheExplicitLockSpan.candidate(K key,
GridCacheVersion ver)
Gets explicit lock candidate for given key.
|
static void |
GridCacheUtils.checkAttributeMismatch(GridLogger log,
String cfgName,
GridNode rmt,
String attrName,
String attrMsg,
Object locVal,
Object rmtVal,
boolean fail)
Checks that cache configuration attribute has the same value in local and remote cache configurations.
|
static void |
GridCacheUtils.checkAttributeMismatch(GridLogger log,
String cfgName,
GridNode rmt,
String attrName,
String attrMsg,
Object locVal,
Object rmtVal,
boolean fail)
Checks that cache configuration attribute has the same value in local and remote cache configurations.
|
void |
GridCacheContext.checkTxFlags(Collection<GridCacheFlag> flags) |
boolean |
GridCacheMapEntry.clear(GridCacheVersion ver,
boolean readers,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
boolean |
GridCacheEntryEx.clear(GridCacheVersion ver,
boolean readers,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
boolean |
GridCacheAdapter.clear0(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheAdapter.clearAll0(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected void |
GridCacheMapEntry.clearIndex(V prevVal)
Clears index.
|
<T> T |
GridCacheContext.cloneOnFlag(T obj)
Clones cached object depending on whether or not
GridCacheFlag.CLONE flag
is set thread locally. |
<T> T |
GridCacheContext.cloneValue(T obj)
Clone cached object.
|
boolean |
GridCacheMapEntry.compact(GridPredicate<GridCacheEntry<K,V>>[] filter)
Optimizes the size of this entry.
|
boolean |
GridCacheEntryEx.compact(GridPredicate<GridCacheEntry<K,V>>[] filter)
Optimizes the size of this entry.
|
boolean |
GridCacheAdapter.compact(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheAdapter.compactAll(Iterable<K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheAdapter.compactAll(Iterable<K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
boolean |
GridCacheAdapter.containsAllKeys(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAllKeys(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAllValues(Collection<? extends V> vals,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAllValues(Collection<? extends V> vals,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAnyKeys(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAnyKeys(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAnyValues(Collection<? extends V> vals,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAnyValues(Collection<? extends V> vals,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsKey(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsValue(V val,
GridPredicate<GridCacheEntry<K,V>> filter) |
static GridCacheMetricsAdapter |
GridCacheMetricsAdapter.copyOf(GridCacheMetrics m)
Create a copy of given metrics object.
|
GridCacheMapEntry<K,V> |
GridCacheMapEntryFactory.create(GridCacheContext<K,V> ctx,
long topVer,
K key,
int hash,
V val,
GridCacheMapEntry<K,V> next,
long ttl,
int hdrId) |
protected GridCacheValueBytes |
GridCacheMapEntry.createValueBytes(V val)
Create value bytes wrapper from the given object.
|
void |
GridCacheTxEntry.drVersion(GridCacheVersion drVer) |
protected GridFuture<Set<K>> |
GridCacheTxLocalAdapter.enlistWrite(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
long ttl,
boolean implicit,
Map<? extends K,? extends V> lookup,
Map<? extends K,? extends GridClosure<V,V>> transformMap,
boolean retval,
boolean lockOnly,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheReturn<V> ret,
Collection<K> enlisted,
Map<? extends K,GridCacheDrInfo<V>> drPutMap,
Map<? extends K,GridCacheVersion> drRmvMap)
Internal routine for putAll(..)
|
protected GridFuture<Set<K>> |
GridCacheTxLocalAdapter.enlistWrite(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
long ttl,
boolean implicit,
Map<? extends K,? extends V> lookup,
Map<? extends K,? extends GridClosure<V,V>> transformMap,
boolean retval,
boolean lockOnly,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheReturn<V> ret,
Collection<K> enlisted,
Map<? extends K,GridCacheDrInfo<V>> drPutMap,
Map<? extends K,GridCacheVersion> drRmvMap)
Internal routine for putAll(..)
|
protected GridFuture<Set<K>> |
GridCacheTxLocalAdapter.enlistWrite(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
long ttl,
boolean implicit,
Map<? extends K,? extends V> lookup,
Map<? extends K,? extends GridClosure<V,V>> transformMap,
boolean retval,
boolean lockOnly,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheReturn<V> ret,
Collection<K> enlisted,
Map<? extends K,GridCacheDrInfo<V>> drPutMap,
Map<? extends K,GridCacheVersion> drRmvMap)
Internal routine for putAll(..)
|
protected GridFuture<Set<K>> |
GridCacheTxLocalAdapter.enlistWrite(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
long ttl,
boolean implicit,
Map<? extends K,? extends V> lookup,
Map<? extends K,? extends GridClosure<V,V>> transformMap,
boolean retval,
boolean lockOnly,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheReturn<V> ret,
Collection<K> enlisted,
Map<? extends K,GridCacheDrInfo<V>> drPutMap,
Map<? extends K,GridCacheVersion> drRmvMap)
Internal routine for putAll(..)
|
protected GridFuture<Set<K>> |
GridCacheTxLocalAdapter.enlistWrite(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
long ttl,
boolean implicit,
Map<? extends K,? extends V> lookup,
Map<? extends K,? extends GridClosure<V,V>> transformMap,
boolean retval,
boolean lockOnly,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheReturn<V> ret,
Collection<K> enlisted,
Map<? extends K,GridCacheDrInfo<V>> drPutMap,
Map<? extends K,GridCacheVersion> drRmvMap)
Internal routine for putAll(..)
|
GridCacheProjectionImpl<K,V> |
GridCacheGateway.enter(GridCacheProjectionImpl<K,V> prj) |
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet(Collection<? extends K> keys,
GridPredicate<K> keyFilter,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet(Collection<? extends K> keys,
GridPredicate<K> keyFilter,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet(Collection<? extends K> keys,
GridPredicate<K> keyFilter,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
boolean |
GridCacheEvictionManager.evict(GridCacheEntryEx<K,V> entry,
GridCacheVersion obsoleteVer,
boolean explicit,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheEvictionManager.evict(GridCacheEntryEx<K,V> entry,
GridCacheVersion obsoleteVer,
boolean explicit,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheEvictionManager.evict(GridCacheEntryEx<K,V> entry,
GridCacheVersion obsoleteVer,
boolean explicit,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheAdapter.evict(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheProjectionImpl.evictAll(Collection<? extends K> keys)
Attempts to evict all entries associated with keys.
|
void |
GridCacheAdapter.evictAll(Collection<? extends K> keys)
Attempts to evict all entries associated with keys.
|
void |
GridCacheProxyImpl.evictAll(Collection<? extends K> keys)
Attempts to evict all entries associated with keys.
|
void |
GridCacheAdapter.evictAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
boolean |
GridCacheMapEntry.evictInternal(boolean swap,
GridCacheVersion obsoleteVer,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheEntryEx.evictInternal(boolean swap,
GridCacheVersion obsoleteVer,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridCachePeekMode[] |
GridCacheContext.excludePeekModes(GridCachePeekMode[] modes)
Force peek mode excludes for current thread.
|
GridCacheMvccCandidate<K> |
GridCacheMvccManager.explicitLock(K key,
GridCacheVersion ver)
Gets explicit lock candidate added by any thread by given key and lock version.
|
GridCacheProjection<K,V> |
GridCacheProjectionImpl.flagsOff(GridCacheFlag[] flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheAdapter.flagsOff(GridCacheFlag[] flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheProxyImpl.flagsOff(GridCacheFlag[] flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheProjectionImpl.flagsOn(GridCacheFlag[] flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
GridCacheProjection<K,V> |
GridCacheAdapter.flagsOn(GridCacheFlag[] flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
GridCacheProjection<K,V> |
GridCacheProxyImpl.flagsOn(GridCacheFlag[] flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
GridCacheFlag[] |
GridCacheContext.forceFlags(GridCacheFlag[] flags)
Force projection flags for the current thread.
|
void |
GridCacheAdapter.FutureHolder.future(GridFuture fut)
Sets future.
|
V |
GridCacheProjectionEx.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheProjectionEx.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheProjectionImpl.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheProjectionImpl.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheAdapter.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheAdapter.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheProxyImpl.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheProxyImpl.get(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheAdapter.get(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
Map<K,V> |
GridCacheProjectionImpl.getAll(Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
Map<K,V> |
GridCacheAdapter.getAll(Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
Map<K,V> |
GridCacheProxyImpl.getAll(Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
GridFuture<Map<K,V>> |
GridCacheProjectionImpl.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
GridFuture<Map<K,V>> |
GridCacheProxyImpl.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
protected GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
boolean checkTx,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
boolean checkTx,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
boolean checkTx,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
boolean checkTx,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridCacheTxLocalAdapter.getAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridCacheTxLocalEx.getAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<V> |
GridCacheAdapter.getAsync(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridUuid |
GridCacheDeploymentManager.getClassLoaderId(ClassLoader ldr) |
boolean |
GridCacheEntryEx.initialValue(V val,
byte[] valBytes,
GridCacheVersion ver,
long ttl,
long expireTime,
boolean preload,
long topVer,
GridDrType drType)
Sets new value if current version is 0
|
V |
GridCacheMapEntry.innerGet(GridCacheTxEx<K,V> tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheEntryEx.innerGet(GridCacheTxEx<K,V> tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerRemove(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerRemove(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerRemove(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerRemove(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerRemove(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerRemove(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerSet(GridCacheTxEx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId) |
GridBiTuple<Boolean,V> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
GridBiTuple<Boolean,V> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
GridBiTuple<Boolean,V> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
GridBiTuple<Boolean,V> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
GridBiTuple<Boolean,V> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
GridBiTuple<Boolean,V> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
<K,V> GridCacheAdapter<K,V> |
GridCacheProcessor.internalCache(String name) |
boolean |
GridCacheMapEntry.invalidate(GridCacheVersion curVer,
GridCacheVersion newVer)
Invalidates this entry.
|
boolean |
GridCacheEntryEx.invalidate(GridCacheVersion curVer,
GridCacheVersion newVer)
Invalidates this entry.
|
boolean |
GridCacheMapEntry.invalidate(GridPredicate<GridCacheEntry<K,V>>[] filter)
Invalidates this entry if it passes given filter.
|
boolean |
GridCacheEntryEx.invalidate(GridPredicate<GridCacheEntry<K,V>>[] filter)
Invalidates this entry if it passes given filter.
|
<E> boolean |
GridCacheContext.isAll(E e,
GridPredicate<? super E>[] p)
Same as
GridFunc.isAll(Object, GridPredicate[]), but safely unwraps
exceptions. |
<K,V> boolean |
GridCacheContext.isAll(GridCacheEntryEx<K,V> e,
GridPredicate<GridCacheEntry<K,V>>[] p)
Same as
GridFunc.isAll(Object, GridPredicate[]), but safely unwraps
exceptions. |
static boolean |
GridCacheUtils.isGgfsCache(GridConfiguration cfg,
String cacheName) |
Set<K> |
GridCacheAdapter.keySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
V |
GridCacheWriteBehindStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
void |
GridCacheWriteBehindStore.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheWriteBehindStore.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
boolean |
GridCacheStoreManager.loadAllFromStore(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> vis)
Loads data from persistent store.
|
void |
GridCacheWriteBehindStore.loadCache(GridBiInClosure<K,V> clo,
Object... args)
Default empty implementation.
|
void |
GridCacheProxyImpl.loadCache(GridBiPredicate<K,V> p,
long ttl,
Object[] args)
Delegates to
GridCacheStore.loadCache(GridBiInClosure,Object...) method
to load state from the underlying persistent storage. |
GridFuture<?> |
GridCacheProxyImpl.loadCacheAsync(GridBiPredicate<K,V> p,
long ttl,
Object[] args)
Asynchronously delegates to
GridCacheStore.loadCache(GridBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
V |
GridCacheStoreManager.loadFromStore(GridCacheTx tx,
K key)
Loads data from persistent store.
|
Collection<GridCacheMvccCandidate<K>> |
GridCacheEntryEx.localCandidates(GridCacheVersion... exclude)
Gets all local candidates.
|
boolean |
GridCacheProjectionImpl.lock(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
GridCacheAdapter.lock(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
GridCacheProxyImpl.lock(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
GridCacheFilterEvaluationEntry.lock(long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Synchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
boolean |
GridCacheEvictionEntry.lock(long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Synchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
boolean |
GridCacheEntryImpl.lock(long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Synchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
boolean |
GridCacheAdapter.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheAdapter.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheProjectionImpl.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheProjectionImpl.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheProxyImpl.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheProxyImpl.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProjectionImpl.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProjectionImpl.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProxyImpl.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProxyImpl.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheAdapter.lockAsync(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
GridFuture<Boolean> |
GridCacheProjectionImpl.lockAsync(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
GridFuture<Boolean> |
GridCacheProxyImpl.lockAsync(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
GridFuture<Boolean> |
GridCacheFilterEvaluationEntry.lockAsync(long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
GridFuture<Boolean> |
GridCacheEvictionEntry.lockAsync(long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
GridFuture<Boolean> |
GridCacheEntryImpl.lockAsync(long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
boolean |
GridCacheMapEntry.markObsoleteIfEmpty(GridCacheVersion ver)
Sets obsolete flag if entry value is
null or entry is expired and no
locks are held. |
boolean |
GridCacheEntryEx.markObsoleteIfEmpty(GridCacheVersion ver)
Sets obsolete flag if entry value is
null or entry is expired and no
locks are held. |
protected LinkedHashMap<byte[],Boolean> |
GridCacheMessage.marshalBooleanLinkedMap(LinkedHashMap<?,Boolean> map,
GridCacheContext<K,V> ctx) |
protected List<byte[]> |
GridCacheMessage.marshalCollection(Collection<?> col,
GridCacheContext<K,V> ctx) |
protected <T> byte[][] |
GridCacheMessage.marshalFilter(GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheContext<K,V> ctx) |
protected List<GridCacheValueBytes> |
GridCacheMessage.marshalValuesCollection(Collection<?> col,
GridCacheContext<K,V> ctx) |
protected void |
GridCacheMapEntry.mvccExtras(GridCacheMvcc<K> mvcc) |
abstract GridCacheTxLocalAdapter<K,V> |
GridCacheAdapter.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
protected void |
GridCacheMapEntry.obsoleteVersionExtras(GridCacheVersion obsoleteVer) |
void |
GridCacheMetricsAdapter.onPauseStateChanged(GridDrPauseReason pauseReason,
String errMsg)
Callback for replication pause state changed.
|
void |
GridCacheMetricsAdapter.onPauseStateChanged(GridDrPauseReason pauseReason,
String errMsg)
Callback for replication pause state changed.
|
void |
GridCacheTxManager.onTxStateChange(GridCacheTxState prevState,
GridCacheTxState newState,
GridCacheTx tx) |
void |
GridCacheAdapter.onUndeploy(UUID leftNodeId,
ClassLoader ldr)
Undeploys and removes all entries for class loader.
|
void |
GridCacheDeploymentManager.onUndeploy(UUID leftNodeId,
ClassLoader ldr)
Undeploys given class loader.
|
void |
GridCacheProcessor.onUndeployed(UUID leftNodeId,
ClassLoader ldr)
Callback invoked by deployment manager for whenever a class loader
gets undeployed.
|
GridTuple<V> |
GridCacheTxEx.peek(boolean failFast,
K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheEvictionEntry.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridCacheEntryImpl.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridCacheFilterEvaluationEntry.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridCacheProjectionImpl.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
GridCacheAdapter.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
GridCacheProxyImpl.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
GridCacheAdapter.peek(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridTuple<V> |
GridCacheMapEntry.peek0(boolean failFast,
GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheTxEx<K,V> tx) |
GridTuple<V> |
GridCacheEntryEx.peek0(boolean failFast,
GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheTxEx<K,V> tx) |
GridTuple<V> |
GridCacheEntryEx.peek0(boolean failFast,
GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>[] filter,
GridCacheTxEx<K,V> tx) |
protected GridTuple<V> |
GridCacheAdapter.peek0(boolean failFast,
K key,
Collection<GridCachePeekMode> modes,
GridCacheTxEx<K,V> tx) |
protected GridTuple<V> |
GridCacheAdapter.peek0(boolean failFast,
K key,
GridCachePeekMode mode,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected V |
GridCacheAdapter.peek0(K key,
Collection<GridCachePeekMode> modes,
GridCacheTxEx<K,V> tx) |
Map<K,V> |
GridCacheAdapter.peekAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Map<K,V> |
GridCacheAdapter.peekAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected Map<K,V> |
GridCacheAdapter.peekAll0(Collection<? extends K> keys,
Collection<GridCachePeekMode> modes,
GridCacheTxEx<K,V> tx,
Collection<K> skipped) |
protected Map<K,V> |
GridCacheAdapter.peekAll0(Collection<? extends K> keys,
Collection<GridCachePeekMode> modes,
GridCacheTxEx<K,V> tx,
Collection<K> skipped) |
protected Map<K,V> |
GridCacheAdapter.peekAll0(Collection<? extends K> keys,
Collection<GridCachePeekMode> modes,
GridCacheTxEx<K,V> tx,
Collection<K> skipped) |
protected Map<K,V> |
GridCacheAdapter.peekAll0(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter,
Collection<K> skipped) |
protected Map<K,V> |
GridCacheAdapter.peekAll0(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter,
Collection<K> skipped) |
protected Map<K,V> |
GridCacheAdapter.peekAll0(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter,
Collection<K> skipped) |
protected Set<K> |
GridCacheTxLocalAdapter.postLockWrite(Iterable<? extends K> keys,
Set<K> failed,
Map<K,V> transformed,
Map<? extends K,? extends GridClosure<V,V>> transformMap,
GridCacheReturn<V> ret,
boolean rmv,
boolean retval,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Post lock processing for put or remove.
|
protected Set<K> |
GridCacheTxLocalAdapter.postLockWrite(Iterable<? extends K> keys,
Set<K> failed,
Map<K,V> transformed,
Map<? extends K,? extends GridClosure<V,V>> transformMap,
GridCacheReturn<V> ret,
boolean rmv,
boolean retval,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Post lock processing for put or remove.
|
protected void |
GridCacheMessage.prepareFilter(GridPredicate<GridCacheEntry<K,V>>[] filters,
GridCacheContext<K,V> ctx) |
protected void |
GridCacheMessage.prepareObject(Object o,
GridCacheContext<K,V> ctx) |
protected void |
GridCacheMessage.prepareObjects(Iterable<?> col,
GridCacheContext<K,V> ctx) |
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.primaryEntrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<K> |
GridCacheAdapter.primaryKeySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Collection<V> |
GridCacheAdapter.primaryValues(GridPredicate<GridCacheEntry<K,V>>... filter) |
GridCacheProjection<K,V> |
GridCacheProxyImpl.projection(GridBiPredicate<K,V> p)
Gets cache projection based on given key-value predicate.
|
GridCacheProjection<K,V> |
GridCacheProxyImpl.projection(GridPredicate<GridCacheEntry<K,V>> filter)
Gets cache projection based on given entry filter.
|
void |
GridCacheProjectionImpl.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
void |
GridCacheAdapter.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
void |
GridCacheProxyImpl.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
<K,V> GridCache<K,V> |
GridCacheProcessor.publicCache(String name) |
void |
GridCacheWriteBehindStore.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
V |
GridCacheProjectionEx.put(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProjectionEx.put(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProjectionImpl.put(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProjectionImpl.put(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProxyImpl.put(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProxyImpl.put(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheAdapter.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheAdapter.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheTxLocalAdapter.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheTxLocalEx.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheAdapter.put(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
V |
GridCacheProjectionImpl.put(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pair in cache.
|
V |
GridCacheProxyImpl.put(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pair in cache.
|
void |
GridCacheWriteBehindStore.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheWriteBehindStore.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheProjectionImpl.putAll(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pairs in cache.
|
void |
GridCacheAdapter.putAll(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pairs in cache.
|
void |
GridCacheProxyImpl.putAll(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pairs in cache.
|
void |
GridCacheProxyImpl.putAll(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pairs in cache.
|
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalAdapter.putAllAsync(Map<? extends K,? extends V> map,
boolean retval,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalEx.putAllAsync(Map<? extends K,? extends V> map,
boolean retval,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<?> |
GridCacheAdapter.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<?> |
GridCacheProjectionImpl.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<?> |
GridCacheProxyImpl.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<?> |
GridCacheProxyImpl.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pairs in cache.
|
boolean |
GridCacheStoreManager.putAllToStore(GridCacheTx tx,
Map<K,GridBiTuple<V,GridCacheVersion>> map)
Puts key-value pair into storage.
|
GridFuture<V> |
GridCacheProjectionEx.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProjectionEx.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheAdapter.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheAdapter.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProxyImpl.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProxyImpl.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProjectionImpl.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProjectionImpl.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheTxLocalAdapter.putAsync(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<V> |
GridCacheTxLocalEx.putAsync(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<V> |
GridCacheProjectionImpl.putAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pair in cache.
|
GridFuture<V> |
GridCacheAdapter.putAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pair in cache.
|
GridFuture<V> |
GridCacheProxyImpl.putAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pair in cache.
|
GridCacheMapEntry<K,V> |
GridCacheConcurrentMap.putEntry(long topVer,
K key,
V val,
long ttl) |
GridTriple<GridCacheMapEntry<K,V>> |
GridCacheConcurrentMap.putEntryIfObsoleteOrAbsent(long topVer,
K key,
V val,
long ttl,
boolean create) |
boolean |
GridCacheStoreManager.putToStore(GridCacheTx tx,
K key,
V val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
boolean |
GridCacheProjectionEx.putx(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProjectionEx.putx(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProjectionImpl.putx(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProjectionImpl.putx(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheAdapter.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheAdapter.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProxyImpl.putx(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProxyImpl.putx(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheTxLocalAdapter.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheTxLocalEx.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheProjectionImpl.putx(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pair in cache.
|
boolean |
GridCacheProxyImpl.putx(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pair in cache.
|
GridFuture<Boolean> |
GridCacheProjectionEx.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProjectionEx.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheAdapter.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheAdapter.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProxyImpl.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProxyImpl.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProjectionImpl.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProjectionImpl.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheTxLocalAdapter.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Boolean> |
GridCacheTxLocalEx.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Boolean> |
GridCacheAdapter.putxAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
GridFuture<Boolean> |
GridCacheProjectionImpl.putxAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pair in cache.
|
GridFuture<Boolean> |
GridCacheProxyImpl.putxAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Stores given key-value pair in cache.
|
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalAdapter.putxAsync0(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalEx.putxAsync0(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
protected V |
GridCacheMapEntry.readThrough(GridCacheTxEx<K,V> tx,
K key,
boolean reload,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId) |
GridFuture<Object> |
GridCacheAdapter.readThroughAllAsync(Collection<? extends K> keys,
boolean reload,
GridCacheTxEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId,
GridBiInClosure<K,V> vis) |
GridFuture<Object> |
GridCacheAdapter.readThroughAllAsync(Collection<? extends K> keys,
boolean reload,
GridCacheTxEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId,
GridBiInClosure<K,V> vis) |
void |
GridCacheTxEntry.readValue(V val)
Sets read value if this tx entrty does not have write value yet.
|
V |
GridCacheAdapter.reload(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheProjectionImpl.reloadAll(Collection<? extends K> keys)
Reloads specified entries from underlying persistent storage.
|
void |
GridCacheAdapter.reloadAll(Collection<? extends K> keys)
Reloads specified entries from underlying persistent storage.
|
void |
GridCacheProxyImpl.reloadAll(Collection<? extends K> keys)
Reloads specified entries from underlying persistent storage.
|
Map<K,V> |
GridCacheAdapter.reloadAll(Collection<? extends K> keys,
boolean ret,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Map<K,V> |
GridCacheAdapter.reloadAll(Collection<? extends K> keys,
boolean ret,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheAdapter.reloadAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheAdapter.reloadAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheAdapter.reloadAll(GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
GridCacheProjectionImpl.reloadAllAsync(Collection<? extends K> keys)
Asynchronously reloads all specified entries from underlying
persistent storage.
|
GridFuture<?> |
GridCacheAdapter.reloadAllAsync(Collection<? extends K> keys)
Asynchronously reloads all specified entries from underlying
persistent storage.
|
GridFuture<?> |
GridCacheProxyImpl.reloadAllAsync(Collection<? extends K> keys)
Asynchronously reloads all specified entries from underlying
persistent storage.
|
GridFuture<Map<K,V>> |
GridCacheAdapter.reloadAllAsync(Collection<? extends K> keys,
boolean ret,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.reloadAllAsync(Collection<? extends K> keys,
boolean ret,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.reloadAllAsync(Collection<? extends K> keys,
boolean ret,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
GridCacheAdapter.reloadAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
GridCacheAdapter.reloadAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
GridCacheAdapter.reloadAllAsync(GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<V> |
GridCacheAdapter.reloadAsync(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridCacheWriteBehindStore.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
V |
GridCacheFilterEvaluationEntry.remove(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.remove(Object, GridPredicate[]) method. |
V |
GridCacheProjectionEx.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProjectionEx.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProjectionImpl.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProjectionImpl.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheAdapter.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheAdapter.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProxyImpl.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheProxyImpl.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridCacheTxLocalAdapter.remove(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheTxLocalEx.remove(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
V |
GridCacheProjectionImpl.remove(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mapping from cache.
|
V |
GridCacheProxyImpl.remove(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mapping from cache.
|
void |
GridCacheProjectionImpl.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheProjectionImpl.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheAdapter.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheProxyImpl.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheProxyImpl.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheWriteBehindStore.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheWriteBehindStore.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheProjectionImpl.removeAll(GridPredicate<GridCacheEntry<K,V>>... filter)
Removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheProxyImpl.removeAll(GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalAdapter.removeAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
boolean implicit,
boolean retval,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalEx.removeAllAsync(Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
boolean implicit,
boolean retval,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<?> |
GridCacheAdapter.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProjectionImpl.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProjectionImpl.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProxyImpl.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProxyImpl.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProjectionImpl.removeAllAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
GridFuture<?> |
GridCacheProxyImpl.removeAllAsync(GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
boolean |
GridCacheStoreManager.removeAllFromStore(GridCacheTx tx,
Collection<? extends K> keys) |
GridFuture<V> |
GridCacheFilterEvaluationEntry.removeAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removeAsync(Object, GridPredicate[]) method. |
GridFuture<V> |
GridCacheProjectionEx.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProjectionEx.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProjectionImpl.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProjectionImpl.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheAdapter.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheAdapter.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProxyImpl.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheProxyImpl.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridCacheTxLocalAdapter.removeAsync(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronous remove.
|
GridFuture<V> |
GridCacheTxLocalEx.removeAsync(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronous remove.
|
GridCacheMvccCandidate<K> |
GridCacheExplicitLockSpan.removeCandidate(K key,
GridCacheVersion ver)
Removes lock by key and optional version.
|
GridCacheMvccCandidate<K> |
GridCacheMvccManager.removeExplicitLock(long threadId,
K key,
GridCacheVersion ver)
Removes explicit lock for given thread id, key and optional version.
|
boolean |
GridCacheStoreManager.removeFromStore(GridCacheTx tx,
K key) |
boolean |
GridCacheFilterEvaluationEntry.removex(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removex(Object, GridPredicate[]) method. |
boolean |
GridCacheProjectionEx.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProjectionEx.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProjectionImpl.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProjectionImpl.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheAdapter.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheAdapter.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProxyImpl.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheProxyImpl.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridCacheTxLocalAdapter.removex(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheTxLocalEx.removex(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheProjectionImpl.removex(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mapping from cache.
|
boolean |
GridCacheProxyImpl.removex(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Removes given key mapping from cache.
|
GridFuture<Boolean> |
GridCacheFilterEvaluationEntry.removexAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removexAsync(Object, GridPredicate[]) method. |
GridFuture<Boolean> |
GridCacheProjectionEx.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProjectionEx.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProjectionImpl.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProjectionImpl.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheAdapter.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheAdapter.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProxyImpl.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheProxyImpl.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheTxLocalAdapter.removexAsync(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronous remove.
|
GridFuture<Boolean> |
GridCacheTxLocalEx.removexAsync(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronous remove.
|
GridFuture<Boolean> |
GridCacheProjectionImpl.removexAsync(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously removes given key mapping from cache.
|
GridFuture<Boolean> |
GridCacheProxyImpl.removexAsync(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously removes given key mapping from cache.
|
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalAdapter.removexAsync0(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronous remove.
|
GridFuture<GridCacheReturn<V>> |
GridCacheTxLocalEx.removexAsync0(K key,
GridCacheEntryEx<K,V> cached,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronous remove.
|
boolean |
GridCacheIoManager.safeSend(Collection<? extends GridNode> nodes,
GridCacheMessage<K,V> msg,
GridPredicate<GridNode> fallback)
Sends message and automatically accounts for lefts nodes.
|
GridCacheReturn<V> |
GridCacheReturn.set(V v,
boolean success) |
V |
GridCacheFilterEvaluationEntry.set(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
GridFuture<V> |
GridCacheFilterEvaluationEntry.setAsync(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putAsync(Object, Object, GridPredicate[]) method. |
boolean |
GridCacheFilterEvaluationEntry.setx(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putx(Object, Object, GridPredicate[]) method. |
GridFuture<Boolean> |
GridCacheFilterEvaluationEntry.setxAsync(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putxAsync(Object, Object, GridPredicate[]) method. |
boolean |
GridCacheFilterEvaluationEntry.setxIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putxIfAbsent(Object, Object) method. |
UUID |
GridCacheContext.subjectIdPerCall(UUID subjId)
Gets subject ID per call.
|
void |
GridCacheProjectionImpl.transformAll(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
void |
GridCacheAdapter.transformAll(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
void |
GridCacheProxyImpl.transformAll(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
void |
GridCacheTxLocalAdapter.transformAll(Map<? extends K,? extends GridClosure<V,V>> map) |
void |
GridCacheTxLocalEx.transformAll(Map<? extends K,? extends GridClosure<V,V>> map) |
void |
GridCacheProjectionImpl.transformAll(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
void |
GridCacheAdapter.transformAll(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
void |
GridCacheProxyImpl.transformAll(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
GridFuture<?> |
GridCacheProjectionImpl.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridCacheAdapter.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridCacheProxyImpl.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridCacheTxLocalAdapter.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> map) |
GridFuture<?> |
GridCacheTxLocalEx.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> map) |
GridFuture<?> |
GridCacheProjectionImpl.transformAllAsync(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
GridFuture<?> |
GridCacheAdapter.transformAllAsync(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
GridFuture<?> |
GridCacheProxyImpl.transformAllAsync(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
GridFuture<?> |
GridCacheProjectionEx.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> entry,
long ttl)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<?> |
GridCacheProjectionImpl.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> entry,
long ttl)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<?> |
GridCacheAdapter.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> entry,
long ttl)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<?> |
GridCacheProxyImpl.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> entry,
long ttl)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridCacheTxLocalAdapter.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> cached,
long ttl) |
GridFuture<Boolean> |
GridCacheTxLocalEx.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> cached,
long ttl) |
void |
GridCacheTxEntry.transformClosures(Collection<GridClosure<V,V>> transformClosCol) |
static String |
GridCacheUtils.txString(GridCacheTx tx) |
void |
GridCacheProxyImpl.txSynchronize(GridCacheTxSynchronization syncs)
Registers transactions synchronizations for all transactions started by this cache.
|
void |
GridCacheProxyImpl.txUnsynchronize(GridCacheTxSynchronization syncs)
Removes transaction synchronizations.
|
void |
GridCacheProjectionImpl.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Unlocks given keys only if current thread owns the locks.
|
void |
GridCacheProjectionImpl.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Unlocks given keys only if current thread owns the locks.
|
void |
GridCacheProxyImpl.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Unlocks given keys only if current thread owns the locks.
|
void |
GridCacheProxyImpl.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Unlocks given keys only if current thread owns the locks.
|
protected <K1> LinkedHashMap<K1,Boolean> |
GridCacheMessage.unmarshalBooleanLinkedMap(Map<byte[],Boolean> byteMap,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
protected <T> List<T> |
GridCacheMessage.unmarshalCollection(Collection<byte[]> byteCol,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
protected <T> GridPredicate<GridCacheEntry<K,V>>[] |
GridCacheMessage.unmarshalFilter(byte[][] byteCol,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
protected <T> List<T> |
GridCacheMessage.unmarshalValueBytesCollection(Collection<GridCacheValueBytes> byteCol,
GridCacheContext<K,V> ctx,
ClassLoader ldr) |
protected void |
GridCacheMapEntry.update(V val,
byte[] valBytes,
long expireTime,
long ttl,
GridCacheVersion ver) |
protected void |
GridCacheMapEntry.update(V val,
byte[] valBytes,
long expireTime,
long ttl,
GridCacheVersion ver) |
protected void |
GridCacheMapEntry.updateIndex(V val,
byte[] valBytes,
long expireTime,
GridCacheVersion ver,
V prevVal)
Updates cache index.
|
protected void |
GridCacheMapEntry.updateIndex(V val,
byte[] valBytes,
long expireTime,
GridCacheVersion ver,
V prevVal)
Updates cache index.
|
protected void |
GridCacheMapEntry.updateIndex(V val,
byte[] valBytes,
long expireTime,
GridCacheVersion ver,
V prevVal)
Updates cache index.
|
static void |
GridCacheUtils.validateCacheKey(GridLogger log,
Object key)
Validates that cache key object has overridden equals and hashCode methods and
implements
Externalizable. |
static void |
GridCacheUtils.validateCacheValue(GridLogger log,
Object val)
Validates that cache value object implements
Externalizable. |
void |
GridCacheTxEntry.value(V val,
boolean writeVal,
boolean readVal) |
protected void |
GridCacheMapEntry.value(V val,
byte[] valBytes)
Sets entry value.
|
protected void |
GridCacheMapEntry.value(V val,
byte[] valBytes)
Sets entry value.
|
void |
GridCacheTxEntry.valueBytes(byte[] valBytes) |
GridCacheValueBytes |
GridCacheMapEntry.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
GridCacheValueBytes |
GridCacheEntryEx.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
boolean |
GridCacheEntryEx.versionedValue(V val,
GridCacheVersion curVer,
GridCacheVersion newVer)
Sets new value if passed in version matches the current version
(used for read-through only).
|
boolean |
GridCacheEntryEx.versionedValue(V val,
GridCacheVersion curVer,
GridCacheVersion newVer)
Sets new value if passed in version matches the current version
(used for read-through only).
|
| Constructor and Description |
|---|
GridCacheBatchSwapEntry(K key,
byte[] keyBytes,
int keyHash,
int part,
byte[] valBytes,
boolean valIsByteArr,
GridCacheVersion ver,
long ttl,
long expireTime,
GridUuid keyClsLdrId,
GridUuid valClsLdrId)
Creates batch swap entry.
|
GridCacheEntrySet(GridCacheContext<K,V> ctx,
Collection<? extends GridCacheEntry<K,V>> c,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridCacheIndexUpdateException(String msg,
Throwable cause) |
GridCacheMvccCandidate(GridCacheEntryEx<K,?> parent,
UUID nodeId,
UUID otherNodeId,
GridCacheVersion otherVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean loc,
boolean reentry,
boolean tx,
boolean singleImplicit,
boolean nearLoc,
boolean dhtLoc) |
GridCacheMvccCandidate(GridCacheEntryEx<K,?> parent,
UUID nodeId,
UUID otherNodeId,
GridCacheVersion otherVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean loc,
boolean reentry,
boolean tx,
boolean singleImplicit,
boolean nearLoc,
boolean dhtLoc) |
GridCacheProjectionImpl(GridCacheProjection<K,V> parent,
GridCacheContext<K,V> cctx,
GridBiPredicate<K,V> kvFilter,
GridPredicate<? super GridCacheEntry<K,V>> entryFilter,
Set<GridCacheFlag> flags,
UUID subjId) |
GridCacheProjectionImpl(GridCacheProjection<K,V> parent,
GridCacheContext<K,V> cctx,
GridBiPredicate<K,V> kvFilter,
GridPredicate<? super GridCacheEntry<K,V>> entryFilter,
Set<GridCacheFlag> flags,
UUID subjId) |
GridCacheProjectionImpl(GridCacheProjection<K,V> parent,
GridCacheContext<K,V> cctx,
GridBiPredicate<K,V> kvFilter,
GridPredicate<? super GridCacheEntry<K,V>> entryFilter,
Set<GridCacheFlag> flags,
UUID subjId) |
GridCacheProjectionImpl(GridCacheProjection<K,V> parent,
GridCacheContext<K,V> cctx,
GridBiPredicate<K,V> kvFilter,
GridPredicate<? super GridCacheEntry<K,V>> entryFilter,
Set<GridCacheFlag> flags,
UUID subjId) |
GridCacheProxyImpl(GridCacheContext<K,V> ctx,
GridCacheProjectionEx<K,V> delegate,
GridCacheProjectionImpl<K,V> prj) |
GridCacheStoreManager(GridCacheStore<K,Object> store) |
GridCacheSwapEntry(int keyHash,
byte[] valBytes,
boolean valIsByteArr,
GridCacheVersion ver,
long ttl,
long expireTime,
GridUuid keyClsLdrId,
GridUuid valClsLdrId) |
GridCacheTxAdapter(GridCacheContext<K,V> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean loc,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
UUID subjId) |
GridCacheTxAdapter(GridCacheContext<K,V> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean loc,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
UUID subjId) |
GridCacheTxAdapter(GridCacheContext<K,V> cctx,
UUID nodeId,
GridCacheVersion xidVer,
GridCacheVersion startVer,
long threadId,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
UUID subjId) |
GridCacheTxAdapter(GridCacheContext<K,V> cctx,
UUID nodeId,
GridCacheVersion xidVer,
GridCacheVersion startVer,
long threadId,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
UUID subjId) |
GridCacheTxEntry(GridCacheContext<K,V> ctx,
GridCacheTxEx<K,V> tx,
GridCacheOperation op,
V val,
long ttl,
long drExpireTime,
GridCacheEntryEx<K,V> entry,
GridCacheVersion drVer)
This constructor is meant for remote transactions.
|
GridCacheTxLocalAdapter(GridCacheContext<K,V> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean swapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridCacheTxLocalAdapter(GridCacheContext<K,V> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean swapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridCacheUpdateAtomicResult(boolean success,
V oldVal,
V newVal,
long newTtl,
long drExpireTime,
GridCacheVersion rmvVer,
GridDrReceiverConflictContextImpl<K,V> drConflictCtx,
boolean sndToDht)
Constructor.
|
GridCacheUpdateAtomicResult(boolean success,
V oldVal,
V newVal,
long newTtl,
long drExpireTime,
GridCacheVersion rmvVer,
GridDrReceiverConflictContextImpl<K,V> drConflictCtx,
boolean sndToDht)
Constructor.
|
GridCacheUpdateAtomicResult(boolean success,
V oldVal,
V newVal,
long newTtl,
long drExpireTime,
GridCacheVersion rmvVer,
GridDrReceiverConflictContextImpl<K,V> drConflictCtx,
boolean sndToDht)
Constructor.
|
GridCacheUpdateAtomicResult(boolean success,
V oldVal,
V newVal,
long newTtl,
long drExpireTime,
GridCacheVersion rmvVer,
GridDrReceiverConflictContextImpl<K,V> drConflictCtx,
boolean sndToDht)
Constructor.
|
GridCacheValueCollection(GridCacheContext<K,V> ctx,
Collection<? extends GridCacheEntry<K,V>> c,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridCacheAffinityProxy.mapKeyToNode(K key)
This method provides ability to detect to which primary node the given key
is mapped.
|
GridNode |
GridCacheAffinityImpl.mapKeyToNode(K key)
This method provides ability to detect to which primary node the given key
is mapped.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridNode,Collection<K>> |
GridCacheAffinityProxy.mapKeysToNodes(Collection<? extends K> keys)
This method provides ability to detect which keys are mapped to which nodes.
|
Map<GridNode,Collection<K>> |
GridCacheAffinityImpl.mapKeysToNodes(Collection<? extends K> keys)
This method provides ability to detect which keys are mapped to which nodes.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheCountDownLatch |
GridCacheDataStructuresProxy.countDownLatch(String name,
int cnt,
boolean autoDel,
boolean create)
Gets or creates count down latch.
|
GridCacheCountDownLatch |
GridCacheDataStructuresImpl.countDownLatch(String name,
int cnt,
boolean autoDel,
boolean create)
Gets or creates count down latch.
|
T |
GridCacheQueueProxy.peek() |
T |
GridCacheQueueAdapter.peek() |
T |
GridCacheQueueProxy.poll() |
T |
GridTransactionalCacheQueueImpl.poll() |
T |
GridAtomicCacheQueueImpl.poll() |
T |
GridCacheQueueProxy.poll(long timeout,
TimeUnit unit) |
T |
GridCacheQueueAdapter.poll(long timeout,
TimeUnit unit) |
Set<Long> |
GridCacheQueueHeader.removedIndexes() |
<T> GridCacheSet<T> |
GridCacheDataStructuresManager.set(String name,
boolean collocated,
boolean create)
Gets a set from cache or creates one if it's not cached.
|
<T> GridCacheSet<T> |
GridCacheDataStructuresProxy.set(String name,
boolean collocated,
boolean create)
Will get a named set from cache and create one if it has not been created yet and
create flag
is true. |
<T> GridCacheSet<T> |
GridCacheDataStructuresImpl.set(String name,
boolean collocated,
boolean create)
Will get a named set from cache and create one if it has not been created yet and
create flag
is true. |
GridConcurrentHashSet<GridCacheSetItemKey> |
GridCacheDataStructuresManager.setData(GridUuid id) |
T |
GridCacheQueueProxy.take() |
T |
GridCacheQueueAdapter.take() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridCacheQueueAdapter.checkRemoved(GridCacheQueueHeader hdr)
Checks queue state, throws
GridCacheDataStructureRemovedRuntimeException if queue was removed. |
void |
GridCacheAtomicLongImpl.onInvalid(Exception err) |
void |
GridCacheAtomicReferenceImpl.onInvalid(Exception err) |
void |
GridCacheCountDownLatchImpl.onInvalid(Exception err) |
void |
GridCacheAtomicSequenceImpl.onInvalid(Exception err) |
void |
GridCacheRemovable.onInvalid(Exception err) |
void |
GridCacheAtomicStampedImpl.onInvalid(Exception err) |
| Constructor and Description |
|---|
GridCacheQueueHeader(GridUuid id,
int cap,
boolean collocated,
long head,
long tail,
Set<Long> rmvIdxs) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
Collection<GridCacheMvccCandidate<K>> |
GridDistributedBaseMessage.candidatesByKey(K key) |
Collection<GridCacheMvccCandidate<K>> |
GridDistributedTxPrepareResponse.candidatesForKey(K key) |
GridCacheCommittedTxInfo<K,V> |
GridCacheTxCommitBuffer.committedTx(GridCacheVersion originatingTxVer,
UUID nodeId,
long threadId)
Gets transaction from commit buffer.
|
GridCacheCommittedTxInfo<K,V> |
GridCachePerThreadTxCommitBuffer.committedTx(GridCacheVersion originatingTxVer,
UUID nodeId,
long threadId)
Gets transaction from commit buffer.
|
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> pendingVers,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
Object |
GridDistributedTxPrepareRequest.groupLockKey() |
Object |
GridDistributedTxFinishRequest.groupLockKey() |
Object |
GridDistributedLockRequest.groupLockKey() |
Collection<UUID> |
GridDistributedTxMapping.lastBackups() |
GridCacheVersion |
GridCacheMappedVersion.mappedVersion()
Mapping should occur only if this interface returns a non-null value.
|
V |
GridPartitionedCacheEntryImpl.peekDht(GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.readyLock(GridCacheMvccCandidate<K> cand) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.readyLock(GridCacheVersion ver) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.readyNearLock(GridCacheVersion ver,
GridCacheVersion mapped,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledBack,
Collection<GridCacheVersion> pending)
Notifies mvcc that near local lock is ready to be acquired.
|
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.recheck()
Rechecks if lock should be reassigned.
|
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.removeLock()
Unlocks local lock.
|
V |
GridDistributedLockResponse.value(int idx) |
byte[] |
GridDistributedLockResponse.valueBytes(int idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDistributedTxPrepareRequest.addDhtVersion(K key,
GridCacheVersion dhtVer)
Adds version to be verified on remote node.
|
void |
GridDistributedLockRequest.addKeyBytes(K key,
byte[] keyBytes,
GridCacheTxEntry<K,V> writeEntry,
boolean retVal,
Collection<GridCacheMvccCandidate<K>> cands,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
void |
GridDistributedLockRequest.addKeyBytes(K key,
byte[] keyBytes,
GridCacheTxEntry<K,V> writeEntry,
boolean retVal,
Collection<GridCacheMvccCandidate<K>> cands,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
void |
GridDistributedLockRequest.addKeyBytes(K key,
byte[] keyBytes,
GridCacheTxEntry<K,V> writeEntry,
boolean retVal,
Collection<GridCacheMvccCandidate<K>> cands,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
void |
GridDistributedLockRequest.addKeyBytes(K key,
byte[] keyBytes,
GridCacheTxEntry<K,V> writeEntry,
boolean retVal,
Collection<GridCacheMvccCandidate<K>> cands,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
void |
GridDistributedTxRemoteAdapter.addRead(K key,
byte[] keyBytes,
GridCacheVersion drVer) |
void |
GridDistributedCacheEntry.addRemote(UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle,
GridCacheVersion owned)
Adds new lock candidate.
|
void |
GridDistributedCacheEntry.addRemote(UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle,
GridCacheVersion owned)
Adds new lock candidate.
|
void |
GridDistributedLockResponse.addValueBytes(V val,
byte[] valBytes,
GridCacheContext<K,V> ctx) |
void |
GridDistributedTxRemoteAdapter.addWrite(K key,
byte[] keyBytes,
GridCacheOperation op,
V val,
byte[] valBytes,
GridCacheVersion drVer) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> pendingVers,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
boolean |
GridPartitionedCacheEntryImpl.evictDhtOnly(GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridPartitionedCacheEntryImpl.evictNearOnly(GridPredicate<GridCacheEntry<K,V>>[] filter) |
void |
GridDistributedTxMapping.evictPartitions(int[] parts) |
void |
GridDistributedTxMapping.evictReaders(Collection<K> keys) |
void |
GridDistributedTxMapping.lastBackups(Collection<UUID> lastBackups) |
protected abstract GridFuture<Boolean> |
GridDistributedCacheAdapter.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
protected abstract GridFuture<Boolean> |
GridDistributedCacheAdapter.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridCacheOptimisticCheckPreparedTxFuture.onDone(Boolean res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridCacheOptimisticCheckPreparedTxFuture.onDone(Boolean res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridCachePessimisticCheckCommittedTxFuture.onDone(GridCacheCommittedTxInfo<K,V> res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridCachePessimisticCheckCommittedTxFuture.onDone(GridCacheCommittedTxInfo<K,V> res,
Throwable err)
Callback to notify that future is finished.
|
V |
GridPartitionedCacheEntryImpl.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridPartitionedCacheEntryImpl.peekDht(GridPredicate<GridCacheEntry<K,V>>[] filter) |
| Constructor and Description |
|---|
GridCachePessimisticCheckCommittedTxResponse(GridCacheVersion txId,
GridUuid futId,
GridUuid miniId,
GridCacheCommittedTxInfo<K,V> committedTxInfo) |
GridDistributedLockRequest(UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
GridUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean isRead,
GridCacheTxIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
Object grpLockKey,
boolean partLock) |
GridDistributedLockRequest(UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
GridUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean isRead,
GridCacheTxIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
Object grpLockKey,
boolean partLock) |
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
GridUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
Collection<GridCacheTxEntry<K,V>> writeEntries,
Collection<GridCacheTxEntry<K,V>> recoveryWrites,
boolean reply,
Object grpLockKey) |
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
GridUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
Collection<GridCacheTxEntry<K,V>> writeEntries,
Collection<GridCacheTxEntry<K,V>> recoveryWrites,
boolean reply,
Object grpLockKey) |
GridDistributedTxPrepareRequest(GridCacheTxEx<K,V> tx,
Collection<GridCacheTxEntry<K,V>> reads,
Collection<GridCacheTxEntry<K,V>> writes,
Object grpLockKey,
boolean partLock,
Map<UUID,Collection<UUID>> txNodes) |
GridDistributedTxRemoteAdapter(GridCacheContext<K,V> ctx,
UUID nodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
Object grpLockKey,
UUID subjId) |
GridDistributedTxRemoteAdapter(GridCacheContext<K,V> ctx,
UUID nodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
Object grpLockKey,
UUID subjId) |
GridPartitionedCacheEntryImpl(GridCacheProjectionImpl<K,V> nearPrj,
GridCacheContext<K,V> ctx,
K key,
GridCacheEntryEx<K,V> cached) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridDhtCacheEntry.addDhtLocal(UUID nearNodeId,
GridCacheVersion nearVer,
long topVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
GridCacheMvccCandidate<K> |
GridDhtLockFuture.addEntry(GridDhtCacheEntry<K,V> entry)
Adds entry to future.
|
GridFuture<Boolean> |
GridDhtTxLocalAdapter.addEntry(long msgId,
GridCacheTxEntry<K,V> e) |
protected abstract GridFuture<Boolean> |
GridDhtTxLocalAdapter.addReader(long msgId,
GridDhtCacheEntry<K,V> cached,
GridCacheTxEntry<K,V> entry,
long topVer)
Adds reader to cached entry.
|
protected GridFuture<Boolean> |
GridDhtTxLocal.addReader(long msgId,
GridDhtCacheEntry<K,V> cached,
GridCacheTxEntry<K,V> entry,
long topVer)
Adds reader to cached entry.
|
GridFuture<Boolean> |
GridDhtCacheEntry.addReader(UUID nodeId,
long msgId,
long topVer) |
static GridDhtPartitionState |
GridDhtPartitionState.fromOrdinal(int ord) |
GridCacheMvccCandidate<K> |
GridDhtCacheEntry.localCandidateByNearVersion(GridCacheVersion nearVer,
boolean rmv) |
GridDhtLocalPartition<K,V> |
GridDhtPartitionTopology.localPartition(int p,
long topVer,
boolean create) |
GridDhtLocalPartition<K,V> |
GridDhtPartitionTopology.localPartition(K key,
boolean create) |
GridCacheVersion |
GridDhtLockFuture.mappedVersion()
Mapping should occur only if this interface returns a non-null value.
|
GridCacheMvccCandidate<K> |
GridDhtCacheEntry.mappings(GridCacheVersion ver,
Collection<UUID> mappings)
Sets mappings into entry.
|
GridFuture<?> |
GridDhtCacheAdapter.multiUpdateFinishFuture(long topVer)
Creates multi update finish future.
|
GridDhtTopologyFuture |
GridDhtCacheAdapter.multiUpdateTopologyFuture() |
GridCacheVersion |
GridDhtLockRequest.owned(K key) |
GridDhtPartitionMap |
GridDhtPartitionTopology.partitions(UUID nodeId) |
GridDhtCacheEntry<K,V> |
GridDhtCacheAdapter.peekExx(K key) |
org.gridgain.grid.kernal.processors.cache.distributed.dht.GridDhtCacheEntry.ReaderId<K,V> |
GridDhtCacheEntry.readerId(UUID nodeId) |
UUID |
GridDhtTxPrepareRequest.subjectId() |
UUID |
GridDhtTxFinishRequest.subjectId() |
GridDhtPartitionMap |
GridDhtPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionMap parts) |
GridTuple3<GridCacheVersion,V,byte[]> |
GridDhtCacheEntry.versionedValue(long topVer) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtLockRequest.addDhtKey(K key,
byte[] keyBytes,
GridCacheTxEntry<K,V> writeEntry,
GridCacheVersion drVer,
boolean invalidateEntry,
GridCacheContext<K,V> ctx)
Adds a DHT key.
|
GridFuture<Map<K,V>> |
GridDhtCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridDhtFuture<Collection<GridCacheEntryInfo<K,V>>> |
GridDhtCacheAdapter.getDhtAsync(UUID reader,
long msgId,
LinkedHashMap<? extends K,Boolean> keys,
boolean reload,
long topVer,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Boolean> |
GridDhtTransactionalCacheAdapter.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> txx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<GridNearLockResponse<K,V>> |
GridDhtTransactionalCacheAdapter.lockAllAsync(GridNode nearNode,
GridNearLockRequest<K,V> req,
GridPredicate<GridCacheEntry<K,V>>[] filter0) |
GridDhtFuture<Boolean> |
GridDhtTransactionalCacheAdapter.lockAllAsyncInternal(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> txx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Acquires locks in partitioned cache.
|
GridCacheTxLocalAdapter<K,V> |
GridDhtCacheAdapter.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
boolean |
GridDhtLockFuture.onDone(Boolean success,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtLockFuture.onDone(Boolean success,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtAssignmentFetchFuture.onDone(List<List<GridNode>> res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtAssignmentFetchFuture.onDone(List<List<GridNode>> res,
Throwable err)
Callback to notify that future is finished.
|
V |
GridDhtCacheEntryImpl.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
GridFuture<GridCacheTxEx<K,V>> |
GridDhtTxLocal.prepareAsync(Iterable<GridCacheTxEntry<K,V>> reads,
Iterable<GridCacheTxEntry<K,V>> writes,
Map<K,GridCacheVersion> verMap,
long msgId,
GridUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
GridFuture<GridCacheTxEx<K,V>> |
GridDhtTxLocal.prepareAsync(Iterable<GridCacheTxEntry<K,V>> reads,
Iterable<GridCacheTxEntry<K,V>> writes,
Map<K,GridCacheVersion> verMap,
long msgId,
GridUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
GridCacheMapEntry<K,V> |
GridNoStorageCacheMap.putEntry(long topVer,
K key,
V val,
long ttl) |
GridTriple<GridCacheMapEntry<K,V>> |
GridNoStorageCacheMap.putEntryIfObsoleteOrAbsent(long topVer,
K key,
V val,
long ttl,
boolean create) |
V |
GridDhtCacheAdapter.reload(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected abstract void |
GridDhtTxLocalAdapter.sendFinishReply(boolean commit,
Throwable err) |
protected void |
GridDhtTxLocal.sendFinishReply(boolean commit,
Throwable err) |
GridDhtPartitionMap |
GridDhtPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionFullMap partMap) |
GridDhtPartitionMap |
GridDhtPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionMap parts) |
| Constructor and Description |
|---|
GridDhtCacheEntryImpl(GridCacheProjectionImpl<K,V> nearPrj,
GridCacheContext<K,V> ctx,
K key,
GridCacheEntryEx<K,V> cached) |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<? extends K,Boolean> keys,
boolean reload,
GridCacheTxLocalEx<K,V> tx,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<? extends K,Boolean> keys,
boolean reload,
GridCacheTxLocalEx<K,V> tx,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<? extends K,Boolean> keys,
boolean reload,
GridCacheTxLocalEx<K,V> tx,
long topVer,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
GridDhtLockRequest(UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
GridUuid futId,
GridUuid miniId,
GridCacheVersion lockVer,
long topVer,
boolean isInTx,
boolean isRead,
GridCacheTxIsolation isolation,
boolean isInvalidate,
long timeout,
int dhtCnt,
int nearCnt,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridDhtLockRequest(UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
GridUuid futId,
GridUuid miniId,
GridCacheVersion lockVer,
long topVer,
boolean isInTx,
boolean isRead,
GridCacheTxIsolation isolation,
boolean isInvalidate,
long timeout,
int dhtCnt,
int nearCnt,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridDhtTxFinishRequest(UUID nearNodeId,
GridUuid futId,
GridUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
GridCacheTxIsolation isolation,
boolean commit,
boolean invalidate,
boolean sysInvalidate,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
Collection<GridCacheTxEntry<K,V>> writes,
Collection<GridCacheTxEntry<K,V>> nearWrites,
Collection<GridCacheTxEntry<K,V>> recoverWrites,
boolean reply,
boolean onePhaseCommit,
Object grpLockKey,
UUID subjId) |
GridDhtTxFinishRequest(UUID nearNodeId,
GridUuid futId,
GridUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
GridCacheTxIsolation isolation,
boolean commit,
boolean invalidate,
boolean sysInvalidate,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
Collection<GridCacheTxEntry<K,V>> writes,
Collection<GridCacheTxEntry<K,V>> nearWrites,
Collection<GridCacheTxEntry<K,V>> recoverWrites,
boolean reply,
boolean onePhaseCommit,
Object grpLockKey,
UUID subjId) |
GridDhtTxLocalAdapter(GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
GridCacheContext<K,V> cctx,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean swapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridDhtTxLocalAdapter(GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
GridCacheContext<K,V> cctx,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean swapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridDhtTxRemote(UUID nearNodeId,
GridUuid rmtFutId,
UUID nodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
UUID subjId)
This constructor is meant for pessimistic transactions.
|
GridDhtTxRemote(UUID nearNodeId,
GridUuid rmtFutId,
UUID nodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
UUID subjId)
This constructor is meant for pessimistic transactions.
|
GridDhtTxRemote(UUID nearNodeId,
GridUuid rmtFutId,
UUID nodeId,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
GridCacheVersion nearXidVer,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId)
This constructor is meant for optimistic transactions.
|
GridDhtTxRemote(UUID nearNodeId,
GridUuid rmtFutId,
UUID nodeId,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
GridCacheVersion nearXidVer,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId)
This constructor is meant for optimistic transactions.
|
GridPartitionedGetFuture(GridCacheContext<K,V> cctx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
GridPartitionedGetFuture(GridCacheContext<K,V> cctx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
| Modifier and Type | Method and Description |
|---|---|
GridLongList |
GridDhtAtomicUpdateRequest.drExpireTimes() |
GridLongList |
GridNearAtomicUpdateRequest.drExpireTimes() |
GridLongList |
GridDhtAtomicUpdateRequest.drTtls() |
GridLongList |
GridNearAtomicUpdateRequest.drTtls() |
GridCacheVersion |
GridDhtAtomicUpdateRequest.drVersion(int idx) |
GridCacheVersion |
GridNearAtomicUpdateRequest.drVersion(int idx) |
List<GridCacheVersion> |
GridDhtAtomicUpdateRequest.drVersions() |
List<GridCacheVersion> |
GridNearAtomicUpdateRequest.drVersions() |
GridPredicate<GridCacheEntry<K,V>>[] |
GridNearAtomicUpdateRequest.filter() |
byte[] |
GridDhtAtomicUpdateRequest.keyBytes(int idx) |
byte[] |
GridDhtAtomicUpdateRequest.nearKeyBytes(int idx) |
GridClosure<V,V> |
GridDhtAtomicUpdateRequest.nearTransformClosure(int idx) |
V |
GridDhtAtomicUpdateRequest.nearValue(int idx) |
V |
GridNearAtomicUpdateResponse.nearValue(int idx) |
byte[] |
GridDhtAtomicUpdateRequest.nearValueBytes(int idx) |
byte[] |
GridNearAtomicUpdateResponse.nearValueBytes(int idx) |
List<Integer> |
GridNearAtomicUpdateResponse.nearValuesIndexes() |
List<Integer> |
GridNearAtomicUpdateResponse.skippedIndexes() |
GridClosure<V,V> |
GridDhtAtomicUpdateRequest.transformClosure(int idx) |
V |
GridDhtAtomicUpdateRequest.value(int idx) |
byte[] |
GridDhtAtomicUpdateRequest.valueBytes(int idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtAtomicUpdateResponse.addNearEvicted(K key,
byte[] bytes)
Adds near evicted key..
|
void |
GridNearAtomicUpdateResponse.addNearValue(int keyIdx,
V val,
byte[] valBytes)
Adds value to be put in near cache on originating node.
|
void |
GridNearAtomicUpdateResponse.addNearValue(int keyIdx,
V val,
byte[] valBytes)
Adds value to be put in near cache on originating node.
|
void |
GridDhtAtomicUpdateFuture.addNearWriteEntries(Iterable<UUID> readers,
GridDhtCacheEntry<K,V> entry,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long ttl) |
void |
GridDhtAtomicUpdateFuture.addNearWriteEntries(Iterable<UUID> readers,
GridDhtCacheEntry<K,V> entry,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long ttl) |
void |
GridDhtAtomicUpdateRequest.addNearWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridClosure<V,V> transformC) |
void |
GridDhtAtomicUpdateRequest.addNearWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridClosure<V,V> transformC) |
void |
GridDhtAtomicUpdateRequest.addNearWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridClosure<V,V> transformC) |
void |
GridNearAtomicUpdateRequest.addUpdateEntry(K key,
Object val,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean primary) |
void |
GridNearAtomicUpdateRequest.addUpdateEntry(K key,
Object val,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean primary) |
void |
GridDhtAtomicUpdateFuture.addWriteEntry(GridDhtCacheEntry<K,V> entry,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
long ttl) |
void |
GridDhtAtomicUpdateFuture.addWriteEntry(GridDhtCacheEntry<K,V> entry,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
long ttl) |
void |
GridDhtAtomicUpdateFuture.addWriteEntry(GridDhtCacheEntry<K,V> entry,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
long ttl) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridClosure<V,V> transformC,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
GridFuture<Map<K,V>> |
GridDhtAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
protected GridFuture<Boolean> |
GridDhtAtomicCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
protected GridFuture<Boolean> |
GridDhtAtomicCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridCacheTxLocalAdapter<K,V> |
GridDhtAtomicCache.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
boolean |
GridNearAtomicUpdateFuture.onDone(Object res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridNearAtomicUpdateFuture.onDone(Object res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtAtomicUpdateFuture.onDone(Void res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtAtomicUpdateFuture.onDone(Void res,
Throwable err)
Callback to notify that future is finished.
|
V |
GridDhtAtomicCache.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
GridDhtAtomicCache.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridDhtAtomicCache.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<?> |
GridDhtAtomicCache.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<V> |
GridDhtAtomicCache.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridDhtAtomicCache.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridDhtAtomicCache.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridDhtAtomicCache.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridDhtAtomicCache.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridDhtAtomicCache.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridDhtAtomicCache.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridDhtAtomicCache.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridDhtAtomicCache.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridDhtAtomicCache.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridDhtAtomicCache.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridDhtAtomicCache.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridDhtAtomicCache.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridDhtAtomicCache.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
void |
GridDhtAtomicCache.transformAll(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridDhtAtomicCache.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridDhtAtomicCache.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> entry,
long ttl)
Internal method that is called from
GridCacheEntryImpl. |
void |
GridDhtAtomicCache.updateAllAsyncInternal(UUID nodeId,
GridNearAtomicUpdateRequest<K,V> req,
GridCacheEntryEx<K,V> cached,
CI2<GridNearAtomicUpdateRequest<K,V>,GridNearAtomicUpdateResponse<K,V>> completionCb)
Executes local update.
|
void |
GridDhtAtomicCache.updateAllAsyncInternal0(UUID nodeId,
GridNearAtomicUpdateRequest<K,V> req,
GridCacheEntryEx<K,V> cached,
CI2<GridNearAtomicUpdateRequest<K,V>,GridNearAtomicUpdateResponse<K,V>> completionCb)
Executes local update after preloader fetched values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridDhtColocatedCache.containsKey(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<Map<K,V>> |
GridDhtColocatedCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtColocatedCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtColocatedCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtColocatedCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This method is used internally.
|
GridFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
long topVer,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
long topVer,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
long topVer,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Boolean> |
GridDhtColocatedCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This is an entry point to pessimistic locking within transaction.
|
GridFuture<Boolean> |
GridDhtColocatedCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter)
This is an entry point to pessimistic locking within transaction.
|
GridCacheTxLocalAdapter<K,V> |
GridDhtColocatedCache.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
V |
GridDhtColocatedCache.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
GridFuture<GridCacheTxEx<K,V>> |
GridDhtColocatedTxLocal.prepareAsyncLocal(Collection<GridCacheTxEntry<K,V>> reads,
Collection<GridCacheTxEntry<K,V>> writes,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
GridFuture<GridCacheTxEx<K,V>> |
GridDhtColocatedTxLocal.prepareAsyncLocal(Collection<GridCacheTxEntry<K,V>> reads,
Collection<GridCacheTxEntry<K,V>> writes,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
protected void |
GridDhtColocatedTxLocal.sendFinishReply(boolean commit,
Throwable err) |
protected void |
GridDhtDetachedCacheEntry.value(V val,
byte[] valBytes)
Sets entry value.
|
protected void |
GridDhtDetachedCacheEntry.value(V val,
byte[] valBytes)
Sets entry value.
|
| Constructor and Description |
|---|
GridDhtColocatedLockFuture(GridCacheContext<K,V> cctx,
Collection<? extends K> keys,
GridDhtColocatedTxLocal<K,V> tx,
boolean read,
boolean retval,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridDhtColocatedTxLocal(boolean implicit,
boolean implicitSingle,
GridCacheContext<K,V> cctx,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridDhtColocatedTxLocal(boolean implicit,
boolean implicitSingle,
GridCacheContext<K,V> cctx,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridDhtForceKeysFuture.onDone(Collection<K> res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtForceKeysFuture.onDone(Collection<K> res,
Throwable err)
Callback to notify that future is finished.
|
| Constructor and Description |
|---|
GridDhtPartitionsSingleMessage(GridDhtPartitionExchangeId exchId,
GridDhtPartitionMap parts,
GridCacheVersion lastVer) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridNearCacheEntry.addNearLocal(UUID dhtNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add near local candidate.
|
GridCacheMvccCandidate<K> |
GridNearCacheEntry.dhtNodeId(GridCacheVersion ver,
UUID dhtNodeId) |
GridCacheVersion |
GridNearCacheEntry.dhtVersion() |
GridDrStatus |
GridNearCacheAdapter.drPauseState()
Get DR pause state.
|
Throwable |
GridNearTxFinishResponse.error() |
GridNearCacheEntry<K,V> |
GridNearCacheAdapter.peekExx(K key) |
V |
GridNearCacheAdapter.peekNearOnly(K key)
Peeks only near cache without looking into DHT cache.
|
GridCacheMvccCandidate<K> |
GridNearCacheEntry.removeLock()
Unlocks local lock.
|
GridNearLockRequest<K,V> |
GridNearLockMapping.request() |
GridNearTxRemote<K,V> |
GridNearTransactionalCache.startRemoteTx(ClassLoader ldr,
UUID nodeId,
GridDhtTxPrepareRequest<K,V> req)
Called while processing dht tx prepare request.
|
GridNearTxRemote<K,V> |
GridNearTransactionalCache.startRemoteTx(UUID nodeId,
GridDhtLockRequest<K,V> req) |
GridNearTxRemote<K,V> |
GridNearTransactionalCache.startRemoteTxForFinish(UUID nodeId,
GridDhtTxFinishRequest<K,V> req) |
UUID |
GridNearTxPrepareRequest.subjectId() |
UUID |
GridNearTxFinishRequest.subjectId() |
GridTuple3<GridCacheVersion,V,byte[]> |
GridNearCacheEntry.versionedValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearLockRequest.addKeyBytes(K key,
byte[] keyBytes,
boolean retVal,
GridCacheVersion dhtVer,
GridCacheTxEntry<K,V> writeEntry,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
void |
GridNearLockRequest.addKeyBytes(K key,
byte[] keyBytes,
boolean retVal,
GridCacheVersion dhtVer,
GridCacheTxEntry<K,V> writeEntry,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
void |
GridNearLockRequest.addKeyBytes(K key,
byte[] keyBytes,
boolean retVal,
GridCacheVersion dhtVer,
GridCacheTxEntry<K,V> writeEntry,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
GridCacheMvccCandidate<K> |
GridNearCacheEntry.addNearLocal(UUID dhtNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add near local candidate.
|
void |
GridNearLockResponse.addValueBytes(V val,
byte[] valBytes,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer,
GridCacheContext<K,V> ctx) |
void |
GridNearLockResponse.addValueBytes(V val,
byte[] valBytes,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer,
GridCacheContext<K,V> ctx) |
void |
GridNearLockResponse.addValueBytes(V val,
byte[] valBytes,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer,
GridCacheContext<K,V> ctx) |
void |
GridNearLockResponse.addValueBytes(V val,
byte[] valBytes,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer,
GridCacheContext<K,V> ctx) |
boolean |
GridNearCacheAdapter.clear0(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
void |
GridNearCacheAdapter.clearAll0(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridNearCacheAdapter.compact(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
Set<GridCacheEntry<K,V>> |
GridNearCacheAdapter.entrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
boolean |
GridNearCacheAdapter.evict(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
void |
GridNearCacheAdapter.evictAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
GridNearCacheAdapter.evictNearOnly(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
protected GridFuture<Map<K,V>> |
GridNearAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected GridFuture<Map<K,V>> |
GridNearAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected GridFuture<Map<K,V>> |
GridNearAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
protected GridFuture<Map<K,V>> |
GridNearAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<Map<K,V>> |
GridNearTransactionalCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridNearTransactionalCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridNearTransactionalCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridNearTransactionalCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
Set<K> |
GridNearCacheAdapter.keySet(GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(GridCacheTxEx tx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId) |
GridFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(GridCacheTxEx tx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId) |
GridFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(GridCacheTxEx tx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId) |
GridFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(GridCacheTxEx tx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId) |
boolean |
GridNearCacheEntry.loadedValue(GridCacheTxEx tx,
UUID primaryNodeId,
V val,
byte[] valBytes,
GridCacheVersion ver,
GridCacheVersion dhtVer,
GridCacheVersion expVer,
long ttl,
long expireTime,
boolean evt,
long topVer,
UUID subjId) |
boolean |
GridNearCacheEntry.loadedValue(GridCacheTxEx tx,
UUID primaryNodeId,
V val,
byte[] valBytes,
GridCacheVersion ver,
GridCacheVersion dhtVer,
GridCacheVersion expVer,
long ttl,
long expireTime,
boolean evt,
long topVer,
UUID subjId) |
protected GridFuture<Boolean> |
GridNearAtomicCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
protected GridFuture<Boolean> |
GridNearAtomicCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
GridCacheTxIsolation isolation,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
Set<K> |
GridNearCacheAdapter.nearKeySet(GridPredicate<GridCacheEntry<K,V>> filter) |
GridCacheTxLocalAdapter<K,V> |
GridNearTransactionalCache.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
GridCacheTxLocalAdapter<K,V> |
GridNearAtomicCache.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
V |
GridNearCacheAdapter.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
GridNearCacheAdapter.peek(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
Map<K,V> |
GridNearCacheAdapter.peekAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Map<K,V> |
GridNearCacheAdapter.peekAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridNearCacheAdapter.primaryEntrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<K> |
GridNearCacheAdapter.primaryKeySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Collection<V> |
GridNearCacheAdapter.primaryValues(GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridNearCacheAdapter.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
V |
GridNearAtomicCache.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridNearAtomicCache.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<?> |
GridNearAtomicCache.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<V> |
GridNearAtomicCache.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridNearAtomicCache.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridNearAtomicCache.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridNearAtomicCache.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridNearAtomicCache.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridNearAtomicCache.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Object> |
GridNearCacheAdapter.readThroughAllAsync(Collection<? extends K> keys,
boolean reload,
GridCacheTxEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId,
GridBiInClosure<K,V> vis) |
V |
GridNearCacheAdapter.reload(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridNearCacheAdapter.reloadAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
GridNearCacheAdapter.reloadAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
GridNearCacheAdapter.reloadAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
GridNearCacheAdapter.reloadAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
GridNearCacheAdapter.reloadAllAsync(GridPredicate<GridCacheEntry<K,V>> filter) |
V |
GridNearAtomicCache.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridNearAtomicCache.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridNearAtomicCache.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridNearAtomicCache.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridNearAtomicCache.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridNearAtomicCache.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridNearAtomicCache.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridNearAtomicCache.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
void |
GridNearAtomicCache.transformAll(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridNearAtomicCache.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridNearAtomicCache.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> entry,
long ttl)
Internal method that is called from
GridCacheEntryImpl. |
void |
GridNearAtomicCache.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given keys only if current thread owns the locks.
|
void |
GridNearAtomicCache.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given keys only if current thread owns the locks.
|
void |
GridNearCacheEntry.updateOrEvict(GridCacheVersion dhtVer,
V val,
byte[] valBytes,
long expireTime,
long ttl,
UUID primaryNodeId)
This method should be called only when lock is owned on this entry.
|
void |
GridNearCacheEntry.updateOrEvict(GridCacheVersion dhtVer,
V val,
byte[] valBytes,
long expireTime,
long ttl,
UUID primaryNodeId)
This method should be called only when lock is owned on this entry.
|
| Constructor and Description |
|---|
GridNearGetFuture(GridCacheContext<K,V> cctx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridCacheTxLocalEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
GridNearGetFuture(GridCacheContext<K,V> cctx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridCacheTxLocalEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
GridNearGetFuture(GridCacheContext<K,V> cctx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridCacheTxLocalEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filters,
UUID subjId) |
GridNearLockFuture(GridCacheContext<K,V> cctx,
Collection<? extends K> keys,
org.gridgain.grid.kernal.processors.cache.distributed.near.GridNearTxLocal<K,V> tx,
boolean read,
boolean retval,
long timeout,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridNearLockRequest(long topVer,
UUID nodeId,
long threadId,
GridUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean implicitTx,
boolean implicitSingleTx,
boolean isRead,
GridCacheTxIsolation isolation,
boolean isInvalidate,
long timeout,
boolean syncCommit,
boolean syncRollback,
int keyCnt,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridNearLockRequest(long topVer,
UUID nodeId,
long threadId,
GridUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean implicitTx,
boolean implicitSingleTx,
boolean isRead,
GridCacheTxIsolation isolation,
boolean isInvalidate,
long timeout,
boolean syncCommit,
boolean syncRollback,
int keyCnt,
int txSize,
Object grpLockKey,
boolean partLock,
UUID subjId) |
GridNearTxFinishRequest(GridUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean explicitLock,
long topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
Collection<GridCacheTxEntry<K,V>> writeEntries,
Collection<GridCacheTxEntry<K,V>> recoverEntries,
boolean reply,
UUID subjId) |
GridNearTxFinishResponse(GridCacheVersion xid,
long nearThreadId,
GridUuid futId,
GridUuid miniId,
Throwable err) |
GridNearTxPrepareRequest(GridUuid futId,
long topVer,
GridCacheTxEx<K,V> tx,
Collection<GridCacheTxEntry<K,V>> reads,
Collection<GridCacheTxEntry<K,V>> writes,
Object grpLockKey,
boolean partLock,
boolean syncCommit,
boolean syncRollback,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
UUID subjId) |
GridNearTxRemote(ClassLoader ldr,
UUID nodeId,
UUID nearNodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
Collection<GridCacheTxEntry<K,V>> writeEntries,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
UUID subjId)
This constructor is meant for optimistic transactions.
|
GridNearTxRemote(ClassLoader ldr,
UUID nodeId,
UUID nearNodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
Collection<GridCacheTxEntry<K,V>> writeEntries,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
UUID subjId)
This constructor is meant for optimistic transactions.
|
GridNearTxRemote(UUID nodeId,
UUID nearNodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
UUID subjId)
This constructor is meant for pessimistic transactions.
|
GridNearTxRemote(UUID nodeId,
UUID nearNodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
UUID subjId)
This constructor is meant for pessimistic transactions.
|
GridNearTxRemote(UUID nodeId,
UUID nearNodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
boolean invalidate,
long timeout,
K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion drVer,
GridCacheContext<K,V> ctx,
int txSize,
Object grpLockKey,
UUID subjId)
This constructor is meant for pessimistic transactions.
|
| Modifier and Type | Method and Description |
|---|---|
static GridDrReceiverCacheMetricsAdapter |
GridDrReceiverCacheMetricsAdapter.copyOf(GridDrReceiverCacheMetrics m)
Create a copy of given metrics object.
|
static GridDrSenderCacheMetricsAdapter |
GridDrSenderCacheMetricsAdapter.copyOf(GridDrSenderCacheMetrics m)
Create a copy of given metrics object.
|
GridDrStatus |
GridDrSenderCacheMetricsAdapter.status()
Gets data center replication status.
|
| Modifier and Type | Method and Description |
|---|---|
static GridDrReceiverCacheMetricsAdapter |
GridDrReceiverCacheMetricsAdapter.copyOf(GridDrReceiverCacheMetrics m)
Create a copy of given metrics object.
|
static GridDrSenderCacheMetricsAdapter |
GridDrSenderCacheMetricsAdapter.copyOf(GridDrSenderCacheMetrics m)
Create a copy of given metrics object.
|
void |
GridDrSenderCacheMetricsAdapter.onPauseStateChanged(GridDrPauseReason pauseReason,
String errMsg)
Callback for replication pause state changed.
|
void |
GridDrSenderCacheMetricsAdapter.onPauseStateChanged(GridDrPauseReason pauseReason,
String errMsg)
Callback for replication pause state changed.
|
| Modifier and Type | Method and Description |
|---|---|
GridLeanMap<String,Object> |
GridCacheEntryExtras.attributesData() |
GridCacheMvcc<K> |
GridCacheEntryExtras.mvcc() |
GridCacheVersion |
GridCacheEntryExtras.obsoleteVersion() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntryExtras<K> |
GridCacheAttributesMvccTtlEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccObsoleteEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesTtlEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesObsoleteTtlEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccObsoleteTtlEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesObsoleteEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesEntryExtras.attributesData(GridLeanMap<String,Object> attrData) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccTtlEntryExtras.mvcc(GridCacheMvcc<K> mvcc) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccObsoleteEntryExtras.mvcc(GridCacheMvcc<K> mvcc) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccObsoleteTtlEntryExtras.mvcc(GridCacheMvcc<K> mvcc) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccEntryExtras.mvcc(GridCacheMvcc<K> mvcc) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
GridCacheJtaManagerAdapter.tmLookup()
Gets transaction manager finder.
|
Object |
GridCacheNoopJtaManager.tmLookup()
Gets transaction manager finder.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridLocalCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
GridCacheMvccCandidate<K> |
GridLocalCacheEntry.readyLocal(GridCacheMvccCandidate<K> cand) |
GridCacheMvccCandidate<K> |
GridLocalCacheEntry.readyLocal(GridCacheVersion ver) |
GridCacheMvccCandidate<K> |
GridLocalCacheEntry.recheck()
Rechecks if lock should be reassigned.
|
| Modifier and Type | Method and Description |
|---|---|
GridFuture<Boolean> |
GridLocalCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridCacheTxLocalEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridCacheTxLocalAdapter<K,V> |
GridLocalCache.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
| Modifier and Type | Method and Description |
|---|---|
V |
GridLocalAtomicCache.get(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
| Modifier and Type | Method and Description |
|---|---|
V |
GridLocalAtomicCache.get(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<Map<K,V>> |
GridLocalAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridLocalAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridLocalAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
GridLocalAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx<K,V> entry,
UUID subjId,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Boolean> |
GridLocalAtomicCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridLocalAtomicCache.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
GridCacheTxLocalAdapter<K,V> |
GridLocalAtomicCache.newTx(boolean implicit,
boolean implicitSingle,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
boolean invalidate,
boolean syncCommit,
boolean syncRollback,
boolean swapOrOffheapEnabled,
boolean storeEnabled,
int txSize,
Object grpLockKey,
boolean partLock) |
V |
GridLocalAtomicCache.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridLocalAtomicCache.put(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<?> |
GridLocalAtomicCache.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>[] filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<V> |
GridLocalAtomicCache.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridLocalAtomicCache.putAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridLocalAtomicCache.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridLocalAtomicCache.putx(K key,
V val,
GridCacheEntryEx<K,V> cached,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridLocalAtomicCache.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridLocalAtomicCache.putxAsync(K key,
V val,
GridCacheEntryEx<K,V> entry,
long ttl,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridLocalAtomicCache.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
V |
GridLocalAtomicCache.remove(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridLocalAtomicCache.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<V> |
GridLocalAtomicCache.removeAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridLocalAtomicCache.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
boolean |
GridLocalAtomicCache.removex(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridLocalAtomicCache.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
GridFuture<Boolean> |
GridLocalAtomicCache.removexAsync(K key,
GridCacheEntryEx<K,V> entry,
GridPredicate<GridCacheEntry<K,V>>... filter)
Internal method that is called from
GridCacheEntryImpl. |
void |
GridLocalAtomicCache.transformAll(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridLocalAtomicCache.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridLocalAtomicCache.transformAsync(K key,
GridClosure<V,V> transformer,
GridCacheEntryEx<K,V> entry,
long ttl)
Internal method that is called from
GridCacheEntryImpl. |
void |
GridLocalAtomicCache.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given keys only if current thread owns the locks.
|
void |
GridLocalAtomicCache.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given keys only if current thread owns the locks.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
GridCacheQueryBean.arguments() |
String |
GridCacheQueryAdapter.clause() |
Map<String,String> |
GridCacheSqlMetadata.fields(String type)
Gets fields and their class names for provided type.
|
static GridCacheQueryType |
GridCacheQueryType.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
String |
GridCacheSqlMetadata.keyClass(String type)
Gets key class name for provided type.
|
T |
GridCacheQueryErrorFuture.next()
Returns next element from result set.
|
Class<?> |
GridCacheQueryAdapter.queryClass() |
GridReducer<Object,Object> |
GridCacheQueryBean.reducer() |
GridClosure<Object,Object> |
GridCacheQueryBean.transform() |
String |
GridCacheSqlMetadata.valueClass(String type)
Gets value class name for provided type.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheQuery<Map.Entry<K,V>> |
GridCacheQueriesImpl.createScanQuery(GridBiPredicate<K,V> filter)
Creates user's predicate based scan query.
|
GridCacheQuery<Map.Entry<K,V>> |
GridCacheQueriesProxy.createScanQuery(GridBiPredicate<K,V> filter)
Creates user's predicate based scan query.
|
<R> GridCacheQueryFuture<R> |
GridCacheQueryAdapter.execute(GridClosure<T,R> rmtTransform,
Object... args)
Executes the query the same way as
GridCacheQuery.execute(Object...) method but transforms result remotely. |
<R> GridCacheQueryFuture<R> |
GridCacheQueryAdapter.execute(GridReducer<T,R> rmtReducer,
Object... args)
Executes the query the same way as
GridCacheQuery.execute(Object...) method but reduces result remotely. |
GridCacheQueryFuture<T> |
GridCacheQueryAdapter.execute(Object... args)
Executes the query and returns the query future.
|
void |
GridCacheQueryResponse.metadata(List<GridIndexingFieldMetadata> metadata) |
boolean |
GridCacheDistributedFieldsQueryFuture.onDone(Collection<List<Object>> res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridCacheDistributedFieldsQueryFuture.onDone(Collection<List<Object>> res,
Throwable err)
Callback to notify that future is finished.
|
protected abstract boolean |
GridCacheQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected abstract boolean |
GridCacheQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected abstract boolean |
GridCacheQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected abstract boolean |
GridCacheQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metadata,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metadata,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metadata,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metadata,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridIndexingFieldMetadata> metaData,
Collection<List<GridIndexingEntity<?>>> entities,
Collection<?> data,
boolean finished,
Throwable e) |
void |
GridCacheQueryFutureAdapter.onPage(UUID nodeId,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheQueryFutureAdapter.onPage(UUID nodeId,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheQueryFutureAdapter.onPage(UUID nodeId,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheLocalFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheLocalFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheLocalFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheLocalFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridIndexingFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
protected abstract boolean |
GridCacheQueryManager.onPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
Collection<?> data,
boolean finished,
Throwable e)
Called when data for page is ready.
|
protected abstract boolean |
GridCacheQueryManager.onPageReady(boolean loc,
org.gridgain.grid.kernal.processors.cache.query.GridCacheQueryInfo qryInfo,
Collection<?> data,
boolean finished,
Throwable e)
Called when data for page is ready.
|
boolean |
GridCacheQueryManager.remove(K key,
byte[] keyBytes) |
protected void |
GridCacheQueryManager.removeFieldsQueryResult(UUID sndId,
long reqId) |
protected void |
GridCacheDistributedQueryManager.removeFieldsQueryResult(UUID sndId,
long reqId) |
protected void |
GridCacheQueryManager.removeQueryIterator(UUID sndId,
long reqId) |
protected void |
GridCacheDistributedQueryManager.removeQueryIterator(UUID sndId,
long reqId) |
void |
GridCacheQueryManager.store(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion ver,
long expirationTime)
Writes key-value pair to index.
|
void |
GridCacheQueryManager.store(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion ver,
long expirationTime)
Writes key-value pair to index.
|
void |
GridCacheQueryManager.store(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion ver,
long expirationTime)
Writes key-value pair to index.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiPredicate<UUID,Collection<Map.Entry<K,V>>> |
GridCacheContinuousQueryAdapter.callback()
Gets local callback.
|
GridBiPredicate<K,V> |
GridCacheContinuousQueryAdapter.filter()
Gets key-value filter.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheContinuousQuery<K,V> |
GridCacheContinuousQueryManager.createQuery(GridPredicate<GridCacheEntry<K,V>> prjPred) |
void |
GridCacheContinuousQueryAdapter.execute(GridProjection prj)
Starts continuous query execution on provided set of nodes.
|
void |
GridCacheContinuousQueryAdapter.execute(GridProjection prj,
boolean internal)
Starts continuous query execution.
|
void |
GridCacheContinuousQueryAdapter.filter(GridBiPredicate<K,V> filter)
Sets optional key-value filter.
|
void |
GridCacheContinuousQueryManager.onEntryUpdate(GridCacheEntryEx<K,V> e,
K key,
V val,
GridCacheValueBytes valBytes,
boolean unwind) |
void |
GridCacheContinuousQueryManager.onEntryUpdate(GridCacheEntryEx<K,V> e,
K key,
V val,
GridCacheValueBytes valBytes,
boolean unwind) |
| Modifier and Type | Method and Description |
|---|---|
Map<? extends GridComputeJob,GridNode> |
GridCacheQueryJdbcMetadataTask.map(List<GridNode> subgrid,
String cacheName)
This method is called to map or split grid task into multiple grid jobs.
|
protected Collection<? extends GridComputeJob> |
GridCacheQueryJdbcValidationTask.split(int gridSize,
String cacheName)
This is a simplified version of
GridComputeTask.map(List, Object) method. |
| Modifier and Type | Method and Description |
|---|---|
static GridClosurePolicy |
GridClosurePolicy.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
| Modifier and Type | Method and Description |
|---|---|
<R> GridFuture<R> |
GridClosureProcessor.affinityCall(String cacheName,
Object affKey,
Callable<R> job,
Collection<GridNode> nodes) |
<R> GridFuture<R> |
GridClosureProcessor.affinityCall(String cacheName,
Object affKey,
Callable<R> job,
Collection<GridNode> nodes) |
GridFuture<?> |
GridClosureProcessor.affinityRun(String cacheName,
Object affKey,
Runnable job,
Collection<GridNode> nodes) |
GridFuture<?> |
GridClosureProcessor.affinityRun(String cacheName,
Object affKey,
Runnable job,
Collection<GridNode> nodes) |
<T,R> GridFuture<Collection<R>> |
GridClosureProcessor.broadcast(GridClosure<T,R> job,
T arg,
Collection<GridNode> nodes) |
<T,R> GridFuture<Collection<R>> |
GridClosureProcessor.broadcast(GridClosure<T,R> job,
T arg,
Collection<GridNode> nodes) |
<T,R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsync(GridClosure<T,R> job,
Collection<? extends T> args,
Collection<GridNode> nodes) |
<T,R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsync(GridClosure<T,R> job,
Collection<? extends T> args,
Collection<GridNode> nodes) |
<T,R> GridFuture<R> |
GridClosureProcessor.callAsync(GridClosure<T,R> job,
T arg,
Collection<GridNode> nodes) |
<T,R> GridFuture<R> |
GridClosureProcessor.callAsync(GridClosure<T,R> job,
T arg,
Collection<GridNode> nodes) |
<T,R1,R2> GridFuture<R2> |
GridClosureProcessor.callAsync(GridClosure<T,R1> job,
Collection<? extends T> args,
GridReducer<R1,R2> rdc,
Collection<GridNode> nodes) |
<R> GridFuture<R> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Callable<R> job,
Collection<GridNode> nodes) |
<R> GridFuture<R> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Callable<R> job,
Collection<GridNode> nodes) |
<R> GridFuture<R> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Callable<R> job,
Collection<GridNode> nodes,
boolean sys) |
<R> GridFuture<R> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Callable<R> job,
Collection<GridNode> nodes,
boolean sys) |
<R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Collection<? extends Callable<R>> jobs,
Collection<GridNode> nodes) |
<R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Collection<? extends Callable<R>> jobs,
Collection<GridNode> nodes) |
<R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Collection<? extends Callable<R>> jobs,
Collection<GridNode> nodes,
boolean sys) |
<R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsync(GridClosureCallMode mode,
Collection<? extends Callable<R>> jobs,
Collection<GridNode> nodes,
boolean sys) |
<R> GridFuture<R> |
GridClosureProcessor.callAsyncNoFailover(GridClosureCallMode mode,
Callable<R> job,
Collection<GridNode> nodes,
boolean sys) |
<R> GridFuture<R> |
GridClosureProcessor.callAsyncNoFailover(GridClosureCallMode mode,
Callable<R> job,
Collection<GridNode> nodes,
boolean sys) |
<R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsyncNoFailover(GridClosureCallMode mode,
Collection<? extends Callable<R>> jobs,
Collection<GridNode> nodes,
boolean sys) |
<R> GridFuture<Collection<R>> |
GridClosureProcessor.callAsyncNoFailover(GridClosureCallMode mode,
Collection<? extends Callable<R>> jobs,
Collection<GridNode> nodes,
boolean sys) |
<R1,R2> GridFuture<R2> |
GridClosureProcessor.forkjoinAsync(GridClosureCallMode mode,
Collection<? extends Callable<R1>> jobs,
GridReducer<R1,R2> rdc,
Collection<GridNode> nodes) |
<R1,R2> GridFuture<R2> |
GridClosureProcessor.forkjoinAsync(GridClosureCallMode mode,
Collection<? extends Callable<R1>> jobs,
GridReducer<R1,R2> rdc,
Collection<GridNode> nodes) |
<R1,R2> GridFuture<R2> |
GridClosureProcessor.forkjoinAsync(GridClosureCallMode mode,
Collection<? extends Callable<R1>> jobs,
GridReducer<R1,R2> rdc,
Collection<GridNode> nodes) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Collection<? extends Runnable> jobs,
Collection<GridNode> nodes) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Collection<? extends Runnable> jobs,
Collection<GridNode> nodes) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Collection<? extends Runnable> jobs,
Collection<GridNode> nodes,
boolean sys) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Collection<? extends Runnable> jobs,
Collection<GridNode> nodes,
boolean sys) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Runnable job,
Collection<GridNode> nodes) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Runnable job,
Collection<GridNode> nodes) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Runnable job,
Collection<GridNode> nodes,
boolean sys) |
GridFuture<?> |
GridClosureProcessor.runAsync(GridClosureCallMode mode,
Runnable job,
Collection<GridNode> nodes,
boolean sys) |
| Constructor and Description |
|---|
GridPeerDeployAwareTaskAdapter(GridPeerDeployAware pda)
Constructor that receives deployment information for task.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GridContinuousProcessor.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
Object |
GridContinuousHandler.orderedTopic() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridContinuousProcessor.addNotification(UUID nodeId,
UUID routineId,
Object obj,
Object orderedTopic) |
void |
GridContinuousProcessor.addNotification(UUID nodeId,
UUID routineId,
Object obj,
Object orderedTopic) |
GridFuture<UUID> |
GridContinuousProcessor.startRoutine(GridContinuousHandler hnd,
int bufSize,
long interval,
boolean autoUnsubscribe,
GridPredicate<GridNode> prjPred) |
| Modifier and Type | Method and Description |
|---|---|
String |
GridDataLoaderImpl.cacheName()
Name of cache to load data to.
|
| Modifier and Type | Method and Description |
|---|---|
GridDataLoader<K,V> |
GridDataLoaderProcessor.dataLoader(String cacheName) |
protected static <K,V> void |
GridDataLoadCacheUpdaters.updateAll(GridCacheProjection<K,V> cache,
Collection<K> rmvCol,
Map<K,V> putMap)
Updates cache.
|
| Constructor and Description |
|---|
GridDataLoaderImpl(GridKernalContext ctx,
String cacheName,
DelayQueue<GridDataLoaderImpl<K,V>> flushQ) |
GridDataLoadRequest(long reqId,
byte[] resTopicBytes,
String cacheName,
byte[] updaterBytes,
byte[] colBytes,
boolean ignoreDepOwnership,
GridDeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,GridUuid> ldrParticipants,
GridUuid clsLdrId,
boolean forceLocDep) |
| Modifier and Type | Method and Description |
|---|---|
V |
GridDrReceiverConflictContextImpl.mergeValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDrReceiverConflictContextImpl.merge(V mergeVal,
long ttl)
Force data center replication engine to use neither old, nor new, but some other value passed
as argument.
|
| Constructor and Description |
|---|
GridDrPlainEntry(K key,
V val,
long ttl,
long expireTime,
GridCacheVersion ver)
Constructor.
|
GridDrRawEntry(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
long ttl,
long expireTime,
GridCacheVersion ver)
Constructor.
|
GridDrRawEntry(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
long ttl,
long expireTime,
GridCacheVersion ver)
Constructor.
|
GridDrRawEntry(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
long ttl,
long expireTime,
GridCacheVersion ver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridDrExternalHandshakeResponse.errorMessage() |
String |
GridDrExternalBatchResponse.errorMessage() |
| Constructor and Description |
|---|
GridDrExternalBatchResponse(GridUuid reqId,
String errMsg) |
GridDrExternalHandshakeResponse(String errMsg)
Constructor.
|
| Constructor and Description |
|---|
GridDrInternalRequest(long id,
String cacheName,
Collection<Byte> dataCenterIds,
Collection<GridDrInternalRequestEntry> entries,
int entryCnt)
Constructor.
|
GridDrInternalResponse(long id,
Throwable err,
byte[] errBytes) |
GridDrInternalResponse(long id,
Throwable err,
byte[] errBytes) |
| Modifier and Type | Method and Description |
|---|---|
GridComputeJob |
GridNoopGgfsProcessor.createJob(GridGgfsJob job,
String ggfsName,
GridGgfsPath path,
long start,
long length,
GridGgfsRecordResolver recRslv)
Create compute job for the given GGFS job.
|
abstract GridComputeJob |
GridGgfsProcessorAdapter.createJob(GridGgfsJob job,
String ggfsName,
GridGgfsPath path,
long start,
long length,
GridGgfsRecordResolver recRslv)
Create compute job for the given GGFS job.
|
GridGgfs |
GridNoopGgfsProcessor.ggfs(String name)
Gets GGFS instance.
|
abstract GridGgfs |
GridGgfsProcessorAdapter.ggfs(String name)
Gets GGFS instance.
|
| Modifier and Type | Method and Description |
|---|---|
GridComputeJob |
GridNoopGgfsProcessor.createJob(GridGgfsJob job,
String ggfsName,
GridGgfsPath path,
long start,
long length,
GridGgfsRecordResolver recRslv)
Create compute job for the given GGFS job.
|
abstract GridComputeJob |
GridGgfsProcessorAdapter.createJob(GridGgfsJob job,
String ggfsName,
GridGgfsPath path,
long start,
long length,
GridGgfsRecordResolver recRslv)
Create compute job for the given GGFS job.
|
Collection<GridIpcServerEndpoint> |
GridNoopGgfsProcessor.endpoints(String name)
Gets server endpoints for particular GGFS.
|
abstract Collection<GridIpcServerEndpoint> |
GridGgfsProcessorAdapter.endpoints(String name)
Gets server endpoints for particular GGFS.
|
GridGgfs |
GridNoopGgfsProcessor.ggfs(String name)
Gets GGFS instance.
|
abstract GridGgfs |
GridGgfsProcessorAdapter.ggfs(String name)
Gets GGFS instance.
|
| Modifier and Type | Method and Description |
|---|---|
GridJobWorker |
GridJobProcessor.activeJob(GridUuid jobId)
Gets active job.
|
GridComputeJob |
GridJobWorker.getJob()
Gets deployed job or
null of job could not be deployed. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridJobProcessor.cancelJob(GridUuid sesId,
GridUuid jobId,
boolean sys) |
void |
GridJobProcessor.cancelJob(GridUuid sesId,
GridUuid jobId,
boolean sys) |
| Modifier and Type | Method and Description |
|---|---|
GridProductLicense |
GridLicenseProcessor.license()
Gets license descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
GridProductLicense |
GridOsLicenseProcessor.license()
Gets license descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridOffHeapProcessor.get(String spaceName,
int part,
Object key,
byte[] keyBytes)
Gets value bytes from offheap space for the given key.
|
<T> T |
GridOffHeapProcessor.getValue(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Gets value from offheap space for the given key.
|
byte[] |
GridOffHeapProcessor.remove(String spaceName,
int part,
Object key,
byte[] keyBytes)
Removes value from offheap space for the given key.
|
| Modifier and Type | Method and Description |
|---|---|
long |
GridOffHeapProcessor.allocatedSize(String spaceName)
Gets size of a memory allocated for the entries of the given space.
|
boolean |
GridOffHeapProcessor.contains(String spaceName,
int part,
Object key,
byte[] keyBytes)
Checks if offheap space contains value for the given key.
|
void |
GridOffHeapProcessor.create(String spaceName,
int parts,
long init,
long max,
GridOffHeapEvictListener lsnr)
Creates offheap map for given space name.
|
void |
GridOffHeapProcessor.create(String spaceName,
int parts,
long init,
long max,
GridOffHeapEvictListener lsnr)
Creates offheap map for given space name.
|
long |
GridOffHeapProcessor.entriesCount(String spaceName)
Gets number of elements in the given space.
|
byte[] |
GridOffHeapProcessor.get(String spaceName,
int part,
Object key,
byte[] keyBytes)
Gets value bytes from offheap space for the given key.
|
<T> T |
GridOffHeapProcessor.getValue(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Gets value from offheap space for the given key.
|
<T> T |
GridOffHeapProcessor.getValue(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Gets value from offheap space for the given key.
|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridOffHeapProcessor.iterator(String spaceName)
Gets iterator over contents of the given space.
|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridOffHeapProcessor.iterator(String spaceName,
int part)
Gets iterator over contents of partition.
|
void |
GridOffHeapProcessor.put(String spaceName,
int part,
Object key,
byte[] keyBytes,
byte[] valBytes)
Puts the given value to offheap space for the given key.
|
byte[] |
GridOffHeapProcessor.remove(String spaceName,
int part,
Object key,
byte[] keyBytes)
Removes value from offheap space for the given key.
|
boolean |
GridOffHeapProcessor.removex(String spaceName,
int part,
Object key,
byte[] keyBytes)
Removes value from offheap space for the given key.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Method> |
GridResourceProcessor.getMethodsWithAnnotation(GridDeployment dep,
Class<?> rsrcCls,
Class<? extends Annotation> annCls)
Gets list of methods in specified class annotated with specified annotation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridResourceProcessor.setSpringContext(GridSpringResourceContext rsrcCtx)
Sets Spring resource context.
|
| Modifier and Type | Method and Description |
|---|---|
static GridRestCommand |
GridRestCommand.fromKey(String key) |
static GridRestCommand |
GridRestCommand.fromOrdinal(int ord) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridRestResponse.sessionTokenBytes(byte[] sesTokBytes) |
void |
GridRestResponse.setResponse(Object obj) |
void |
GridRestResponse.setSessionToken(String sesTokStr) |
| Constructor and Description |
|---|
GridRestResponse(int status,
String err)
Constructs failed rest response.
|
| Modifier and Type | Method and Description |
|---|---|
static GridClientCacheRequest.GridCacheOperation |
GridClientCacheRequest.GridCacheOperation.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
byte[] |
GridClientHandshakeRequest.versionBytes() |
| Modifier and Type | Method and Description |
|---|---|
Object |
GridTaskResultResponse.result() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridTaskResultResponse.result(Object res) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
GridRestProtocolAdapter.authenticate(String tok)
Authenticates current request.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridMemcachedMessage.cacheName() |
GridClientMessage |
GridTcpRestParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
Object |
GridTcpRestDirectParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
Long |
GridMemcachedMessage.delta() |
Long |
GridMemcachedMessage.expiration() |
Long |
GridMemcachedMessage.initial() |
GridClientMessage |
GridTcpRestParser.ParserState.packet() |
GridClientMessage |
GridTcpRestDirectParser.ParserState.packet() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridTcpMemcachedNioListener.onDisconnected(GridNioSession ses,
Exception e)
This method is called whenever client is disconnected due to correct connection close
or due to
IOException during network operations. |
void |
GridTcpRestNioListener.onDisconnected(GridNioSession ses,
Exception e)
This method is called whenever client is disconnected due to correct connection close
or due to
IOException during network operations. |
| Constructor and Description |
|---|
GridTcpRestNioListener(GridLogger log,
GridTcpRestProtocol proto,
GridRestProtocolHandler hnd,
GridKernalContext ctx,
GridClientMarshaller protobufMarshaller)
Creates listener which will convert incoming tcp packets to rest requests and forward them to
a given rest handler.
|
| Modifier and Type | Method and Description |
|---|---|
GridTaskSessionImpl |
GridTaskSessionProcessor.getSession(GridUuid sesId) |
| Modifier and Type | Method and Description |
|---|---|
GridTaskSessionImpl |
GridTaskSessionProcessor.createTaskSession(GridUuid sesId,
UUID taskNodeId,
String taskName,
GridDeployment dep,
String taskClsName,
Collection<UUID> top,
long startTime,
long endTime,
Collection<GridComputeJobSibling> siblings,
Map<Object,Object> attrs,
boolean fullSup) |
GridTaskSessionImpl |
GridTaskSessionProcessor.createTaskSession(GridUuid sesId,
UUID taskNodeId,
String taskName,
GridDeployment dep,
String taskClsName,
Collection<UUID> top,
long startTime,
long endTime,
Collection<GridComputeJobSibling> siblings,
Map<Object,Object> attrs,
boolean fullSup) |
| Modifier and Type | Method and Description |
|---|---|
String |
GridStreamerMBeanAdapter.getName()
Gets streamer name.
|
String |
GridStreamerImpl.name()
Gets streamer name.
|
String |
GridStreamerAttributes.name() |
String |
GridStreamerStageWrapper.nextStageName() |
abstract T |
GridStreamerWindowIterator.removex()
Remove element from the underlying collection and return removed element.
|
UUID |
GridStreamerStageExecutionFuture.senderNodeId()
If not root future, will return parent node ID (may be local node ID).
|
<E> GridStreamerWindow<E> |
GridStreamerEx.window(String windowName)
Gets streamer window by window name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridStreamerStageExecutionFuture.onDone(Object res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridStreamerStageExecutionFuture.onDone(Object res,
Throwable err)
Callback to notify that future is finished.
|
void |
GridStreamerStageExecutionFuture.onExecutionCompleted(UUID childNodeId,
Throwable err)
Callback invoked when child node reports execution is completed (successfully or not).
|
GridStreamer |
GridStreamProcessor.streamer(String name) |
| Constructor and Description |
|---|
GridStreamerContextDelegate(GridStreamerContext delegate,
String nextStageName) |
GridStreamerExecutionRequest(boolean forceLocDep,
byte[] batchBytes,
GridDeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,GridUuid> ldrParticipants,
GridUuid clsLdrId) |
GridStreamerExecutionRequest(boolean forceLocDep,
byte[] batchBytes,
GridDeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,GridUuid> ldrParticipants,
GridUuid clsLdrId) |
GridStreamerExecutionRequest(boolean forceLocDep,
byte[] batchBytes,
GridDeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,GridUuid> ldrParticipants,
GridUuid clsLdrId) |
GridStreamerExecutionRequest(boolean forceLocDep,
byte[] batchBytes,
GridDeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,GridUuid> ldrParticipants,
GridUuid clsLdrId) |
GridStreamerExecutionRequest(boolean forceLocDep,
byte[] batchBytes,
GridDeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,GridUuid> ldrParticipants,
GridUuid clsLdrId) |
GridStreamerResponse(GridUuid futId,
byte[] errBytes) |
GridStreamerStageExecutionFuture(GridStreamerEx streamer,
GridUuid execId,
int failoverAttemptCnt,
long execStartTs,
GridUuid parentFutId,
Collection<UUID> prevExecNodes,
String stageName,
Collection<?> evts) |
GridStreamerStageExecutionFuture(GridStreamerEx streamer,
GridUuid execId,
int failoverAttemptCnt,
long execStartTs,
GridUuid parentFutId,
Collection<UUID> prevExecNodes,
String stageName,
Collection<?> evts) |
GridStreamerStageExecutionFuture(GridStreamerEx streamer,
GridUuid execId,
int failoverAttemptCnt,
long execStartTs,
GridUuid parentFutId,
Collection<UUID> prevExecNodes,
String stageName,
Collection<?> evts) |
| Modifier and Type | Method and Description |
|---|---|
Map<? extends GridComputeJob,GridNode> |
GridStreamerReduceTask.map(List<GridNode> subgrid,
Void arg)
This method is called to map or split grid task into multiple grid jobs.
|
Map<? extends GridComputeJob,GridNode> |
GridStreamerBroadcastTask.map(List<GridNode> subgrid,
Void arg)
This method is called to map or split grid task into multiple grid jobs.
|
Map<? extends GridComputeJob,GridNode> |
GridStreamerQueryTask.map(List<GridNode> subgrid,
Void arg)
This method is called to map or split grid task into multiple grid jobs.
|
| Constructor and Description |
|---|
GridStreamerBroadcastTask(GridInClosure<GridStreamerContext> clo,
String streamer) |
GridStreamerQueryTask(GridClosure<GridStreamerContext,R> qryClos,
String streamer) |
GridStreamerReduceTask(GridClosure<GridStreamerContext,R1> clos,
GridReducer<R1,R2> rdc,
String streamer) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridTaskProcessor.getThreadContext(GridTaskThreadContextKey key)
Gets thread-local context value for a given
key. |
<R> GridComputeTaskFuture<R> |
GridTaskProcessor.taskFuture(GridUuid sesId) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> GridComputeTaskFuture<R> |
GridTaskProcessor.execute(Class<? extends GridComputeTask<T,R>> taskCls,
T arg) |
<T,R> GridComputeTaskFuture<R> |
GridTaskProcessor.execute(GridComputeTask<T,R> task,
T arg) |
<T,R> GridComputeTaskFuture<R> |
GridTaskProcessor.execute(GridComputeTask<T,R> task,
T arg,
boolean sys) |
<T,R> GridComputeTaskFuture<R> |
GridTaskProcessor.execute(String taskName,
T arg) |
void |
GridTaskProcessor.setThreadContextIfNotNull(GridTaskThreadContextKey key,
Object val)
Sets the thread-local context value, if it is not null.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
VisorTaskUtils.compactArray(Object[] arr)
Joins array elements to string.
|
static String |
VisorTaskUtils.compactClass(Object obj) |
static Object |
VisorTaskUtils.compactObject(Object obj)
Returns compact class host.
|
Object |
VisorJob.execute()
Executes this job.
|
Map<? extends GridComputeJob,GridNode> |
VisorMultiNodeTask.map(List<GridNode> subgrid,
GridBiTuple<Set<UUID>,A> arg)
This method is called to map or split grid task into multiple grid jobs.
|
R |
VisorOneNodeTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
| Modifier and Type | Method and Description |
|---|---|
static String |
VisorTaskUtils.escapeName(String name) |
Map<? extends GridComputeJob,GridNode> |
VisorMultiNodeTask.map(List<GridNode> subgrid,
GridBiTuple<Set<UUID>,A> arg)
This method is called to map or split grid task into multiple grid jobs.
|
static boolean |
VisorTaskUtils.safeEquals(String a,
String b) |
static boolean |
VisorTaskUtils.safeEquals(String a,
String b) |
| Modifier and Type | Method and Description |
|---|---|
String |
VisorLicense.attributeName() |
String |
VisorLicense.attributeValue() |
String |
VisorLicense.disabledSubsystems() |
VisorDrReceiverHubConfig |
VisorGridConfig.drReceiverHub() |
VisorDrSenderHubConfig |
VisorGridConfig.drSenderHub() |
Date |
VisorLicense.expireDate() |
static VisorLicense |
VisorLicense.from(GridEx g) |
VisorLicense |
VisorGridConfig.license() |
| Modifier and Type | Method and Description |
|---|---|
void |
VisorLicense.attributeName(String attributeName) |
void |
VisorLicense.attributeValue(String attributeVal) |
void |
VisorLicense.disabledSubsystems(String disabledSubsystems) |
void |
VisorGridConfig.drReceiverHub(VisorDrReceiverHubConfig drReceiverHub) |
void |
VisorGridConfig.drSenderHub(VisorDrSenderHubConfig drSndHub) |
void |
VisorLicense.expireDate(Date expireDate) |
void |
VisorGridConfig.license(VisorLicense license) |
| Modifier and Type | Method and Description |
|---|---|
String |
VisorCacheConfig.cloner() |
Integer |
VisorAffinityConfig.defaultReplicas() |
VisorDrReceiverConfig |
VisorCacheConfig.drReceiveConfig() |
VisorDrSenderConfig |
VisorCacheConfig.drSendConfig() |
Boolean |
VisorAffinityConfig.excludeNeighbors() |
String |
VisorEvictionConfig.filter() |
String |
VisorCacheConfig.interceptor() |
String |
VisorCacheConfig.name() |
String |
VisorNearCacheConfig.nearEvictPolicy() |
String |
VisorEvictionConfig.policy() |
Integer |
VisorEvictionConfig.policyMaxSize() |
String |
VisorStoreConfig.store() |
String |
VisorCacheConfig.transactionManagerLookupClassName() |
| Modifier and Type | Method and Description |
|---|---|
void |
VisorCacheConfig.cloner(String cloner) |
void |
VisorCacheConfig.drReceiveConfig(VisorDrReceiverConfig drRcvCfg) |
void |
VisorCacheConfig.drSendConfig(VisorDrSenderConfig drSndCfg) |
void |
VisorCacheConfig.interceptor(String interceptor) |
void |
VisorCacheConfig.name(String name) |
void |
VisorCacheConfig.transactionManagerLookupClassName(String tmLookupClsName) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
VisorRestConfig.accessibleFolders() |
String |
VisorLifecycleConfig.beans() |
String |
VisorGgfsConfig.dataCacheName() |
String |
VisorBasicConfig.ggHome() |
String |
VisorBasicConfig.gridName() |
String |
VisorGgfsConfig.ipcEndpointConfiguration() |
String |
VisorRestConfig.jettyHost() |
String |
VisorRestConfig.jettyPath() |
Integer |
VisorRestConfig.jettyPort() |
String |
VisorBasicConfig.licenseUrl() |
String |
VisorBasicConfig.localHost() |
String |
VisorDrSenderHubConnectionConfig.localOutboundHost() |
String |
VisorBasicConfig.mBeanServer() |
String |
VisorGgfsConfig.metaCacheName() |
String |
VisorStreamerConfig.name() |
String |
VisorGgfsConfig.name() |
String |
VisorPeerToPeerConfig.p2pLocalClassPathExclude() |
Map<String,GridGgfsMode> |
VisorGgfsConfig.pathModes() |
String |
VisorSegmentationConfig.resolvers() |
String |
VisorStreamerConfig.router() |
String |
VisorGgfsConfig.secondaryHadoopFileSystemConfigPath() |
String |
VisorGgfsConfig.secondaryHadoopFileSystemUri() |
String |
VisorBasicConfig.securityCredentialsProvider() |
String |
VisorRestConfig.tcpHost() |
Integer |
VisorRestConfig.tcpPort() |
String |
VisorRestConfig.tcpSslContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
VisorLifecycleConfig.beans(String beans) |
void |
VisorGgfsConfig.dataCacheName(String dataCacheName) |
void |
VisorBasicConfig.ggHome(String ggHome) |
void |
VisorBasicConfig.gridName(String gridName) |
void |
VisorGgfsConfig.ipcEndpointConfiguration(String ipcEndpointCfg) |
void |
VisorBasicConfig.licenseUrl(String licenseUrl) |
void |
VisorBasicConfig.localHost(String locHost) |
void |
VisorDrSenderHubConnectionConfig.localOutboundHost(String locOutboundHost) |
void |
VisorBasicConfig.mBeanServer(String mBeanSrv) |
void |
VisorGgfsConfig.metaCacheName(String metaCacheName) |
void |
VisorStreamerConfig.name(String name) |
void |
VisorGgfsConfig.name(String name) |
void |
VisorPeerToPeerConfig.p2pLocalClassPathExclude(String p2pLocClsPathExcl) |
void |
VisorGgfsConfig.pathModes(Map<String,GridGgfsMode> pathModes) |
void |
VisorSegmentationConfig.resolvers(String resolvers) |
void |
VisorStreamerConfig.router(String router) |
void |
VisorGgfsConfig.secondaryHadoopFileSystemConfigPath(String secondaryHadoopFileSysCfgPath) |
void |
VisorGgfsConfig.secondaryHadoopFileSystemUri(String secondaryHadoopFileSysUri) |
void |
VisorBasicConfig.securityCredentialsProvider(String securityCred) |
| Modifier and Type | Method and Description |
|---|---|
String |
VisorEventsCollectTask.VisorEventsCollectArgs.keyOrder() |
Iterable<GridBiTuple<UUID,VisorLicense>> |
VisorLicenseCollectTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
Iterable<VisorCacheAggregatedMetrics> |
VisorCacheCollectMetricsTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
Map<UUID,GridBiTuple<Long,Long>> |
VisorGcTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
Void |
VisorAckTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
| Modifier and Type | Method and Description |
|---|---|
static VisorEventsCollectTask.VisorEventsCollectArgs |
VisorEventsCollectTask.VisorEventsCollectArgs.createEventsArg(int[] typeArg,
Long timeArg) |
static VisorEventsCollectTask.VisorEventsCollectArgs |
VisorEventsCollectTask.VisorEventsCollectArgs.createEventsArg(int[] typeArg,
Long timeArg) |
static VisorEventsCollectTask.VisorEventsCollectArgs |
VisorEventsCollectTask.VisorEventsCollectArgs.createLogArg(String keyOrder,
int[] typeArg) |
static VisorEventsCollectTask.VisorEventsCollectArgs |
VisorEventsCollectTask.VisorEventsCollectArgs.createLogArg(String keyOrder,
int[] typeArg) |
static VisorEventsCollectTask.VisorEventsCollectArgs |
VisorEventsCollectTask.VisorEventsCollectArgs.createTasksArg(Long timeArg,
String taskName,
GridUuid taskSessionId) |
static VisorEventsCollectTask.VisorEventsCollectArgs |
VisorEventsCollectTask.VisorEventsCollectArgs.createTasksArg(Long timeArg,
String taskName,
GridUuid taskSessionId) |
static VisorEventsCollectTask.VisorEventsCollectArgs |
VisorEventsCollectTask.VisorEventsCollectArgs.createTasksArg(Long timeArg,
String taskName,
GridUuid taskSessionId) |
| Constructor and Description |
|---|
VisorEventsCollectTask.VisorEventsCollectArgs(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
GridUuid taskSessionId) |
VisorEventsCollectTask.VisorEventsCollectArgs(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
GridUuid taskSessionId) |
VisorEventsCollectTask.VisorEventsCollectArgs(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
GridUuid taskSessionId) |
VisorEventsCollectTask.VisorEventsCollectArgs(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
GridUuid taskSessionId) |
VisorEventsCollectTask.VisorEventsCollectArgs(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
GridUuid taskSessionId) |
| Modifier and Type | Method and Description |
|---|---|
V2 |
GridBiTuple.get(Object key) |
V1 |
GridBiTuple.get1()
Gets first value.
|
V2 |
GridBiTuple.get2()
Gets second value.
|
V1 |
GridBiTuple.getKey() |
V2 |
GridBiTuple.getValue() |
V2 |
GridBiTuple.put(V1 key,
V2 val) |
V2 |
GridBiTuple.remove(Object key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridReducer.collect(E e)
Collects given value.
|
void |
GridBiTuple.set(V1 val1,
V2 val2)
Sets both values in the tuple.
|
void |
GridBiTuple.set(V1 val1,
V2 val2)
Sets both values in the tuple.
|
void |
GridBiTuple.set1(V1 val1)
Sets first value.
|
void |
GridBiTuple.set2(V2 val2)
Sets second value.
|
V2 |
GridBiTuple.setValue(V2 val) |
| Constructor and Description |
|---|
GridBiTuple(V1 val1,
V2 val2)
Fully initializes this tuple.
|
GridBiTuple(V1 val1,
V2 val2)
Fully initializes this tuple.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridLogger.fileName()
Gets name of the file being logged to if one is configured or
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridLogger.error(String msg,
Throwable e)
Logs error message with optional exception.
|
void |
GridLogger.warning(String msg,
Throwable e)
Logs out warning message with optional exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridJavaLogger.fileName()
Gets name of the file being logged to if one is configured or
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridJavaLogger.error(String msg,
Throwable e)
Logs error message with optional exception.
|
void |
GridJavaLogger.warning(String msg,
Throwable e)
Logs out warning message with optional exception.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridAbstractMarshaller.marshal(Object obj)
Marshals object to byte array.
|
byte[] |
GridMarshaller.marshal(Object obj)
Marshals object to byte array.
|
void |
GridMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
<T> T |
GridAbstractMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
GridMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
GridMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridJdkMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
<T> T |
GridJdkMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridOptimizedMarshaller.marshal(Object obj)
Marshals object to byte array.
|
void |
GridOptimizedMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
void |
GridOptimizedMarshaller.setClassNames(List<String> clsNames)
Adds provided class names for marshalling optimization.
|
void |
GridOptimizedMarshaller.setClassNamesPath(String path)
Specifies a name of the file which lists all class names to be optimized.
|
<T> T |
GridOptimizedMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
GridOptimizedMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Constructor and Description |
|---|
GridOptimizedMarshaller(boolean requireSer,
List<String> clsNames,
String clsNamesPath,
int poolSize)
Initializes marshaller with given serialization flag.
|
GridOptimizedMarshaller(boolean requireSer,
List<String> clsNames,
String clsNamesPath,
int poolSize)
Initializes marshaller with given serialization flag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridMessaging.localListen(Object topic,
GridBiPredicate<UUID,?> p)
Adds local listener for given topic on local node only.
|
GridFuture<UUID> |
GridMessaging.remoteListen(Object topic,
GridBiPredicate<UUID,?> p)
Adds a message listener for a given topic to all nodes in the projection (possibly including
this node if it belongs to the projection as well).
|
protected void |
GridMessagingListenActor.respond(Object respMsg)
Responds to the original sender node with given message and continues to listen for the new messages.
|
protected void |
GridMessagingListenActor.respond(UUID id,
Object respMsg)
Responds to the provided node with given message and continues to listen for the new messages.
|
void |
GridMessaging.send(Object topic,
Collection<?> msgs)
Sends given messages with specified topic to the nodes in this projection.
|
void |
GridMessaging.send(Object topic,
Object msg)
Sends given message with specified topic to the nodes in this projection.
|
void |
GridMessaging.sendOrdered(Object topic,
Object msg,
long timeout)
Sends given message with specified topic to the nodes in this projection.
|
protected void |
GridMessagingListenActor.stop(Object respMsg)
This method sends the response message to the original sender node and instructs underlying
implementation to stop receiving new messages and unregister the message listener.
|
void |
GridMessaging.stopLocalListen(Object topic,
GridBiPredicate<UUID,?> p)
Unregisters local listener for given topic on local node only.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GridProductLicense.attributeName()
Gets license attribute name if any.
|
String |
GridProductLicense.attributeValue()
Gets value for the license attribute if any.
|
static GridProductEdition |
GridProductEdition.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
String |
GridProductLicense.getCacheDistributionModes()
Gets a comma separated list of allowed cache distribution modes.
|
String |
GridProduct.latestVersion()
Gets latest version available for download or
null if information is not available. |
GridProductLicense |
GridProduct.license()
Gets license descriptor for enterprise edition or
null for open source edition. |
| Constructor and Description |
|---|
GridProductLicenseException(String msg,
String shortMsg)
Creates new license exception with given error message.
|
GridProductLicenseException(String msg,
String shortMsg,
Throwable cause)
Creates new license exception with given error message and optional nested exception.
|
GridProductLicenseException(String msg,
String shortMsg,
Throwable cause)
Creates new license exception with given error message and optional nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
<R> GridFuture<R> |
GridScheduler.callLocal(Callable<R> c)
Executes given callable on internal system thread pool asynchronously.
|
GridFuture<?> |
GridScheduler.runLocal(Runnable r)
Executes given closure on internal system thread pool asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
static GridSecuritySubjectType |
GridSecuritySubjectType.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridSecurityPermission |
GridSecurityPermission.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
Object |
GridSecurityCredentials.getUserObject()
Gets user-specific object.
|
Collection<GridSecurityPermission> |
GridSecurityPermissionSet.systemPermissions()
Collection of system-wide permissions (events enable/disable, Visor task execution).
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridSecurityCredentials.setUserObject(Object userObj)
Sets user-specific object.
|
| Constructor and Description |
|---|
GridSecurityCredentials(String login,
String password,
Object userObj)
Constructs security credentials based on
login, password,
and custom user object. |
GridSecurityException(String msg,
Throwable cause)
Constructs security grid exception with given message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
static GridPortProtocol |
GridPortProtocol.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
<K,V> V |
GridSpiContext.get(String cacheName,
K key)
Gets object from cache.
|
GridNode |
GridSpiContext.node(UUID nodeId)
Gets a node instance based on its ID.
|
<K,V> V |
GridSpiContext.put(String cacheName,
K key,
V val,
long ttl)
Puts object in cache.
|
<K,V> V |
GridSpiContext.putIfAbsent(String cacheName,
K key,
V val,
long ttl)
Puts object into cache if there was no previous object associated with
given key.
|
<T> T |
GridSpiContext.readFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Reads object from off-heap.
|
<T> T |
GridSpiContext.readFromSwap(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads object from swap.
|
<K,V> V |
GridSpiContext.remove(String cacheName,
K key)
Removes object from cache.
|
GridNodeValidationResult |
GridSpiContext.validateNode(GridNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridSpiContext.readFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Reads object from off-heap.
|
<T> T |
GridSpiContext.readFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Reads object from off-heap.
|
<T> T |
GridSpiContext.readFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Reads object from off-heap.
|
<T> T |
GridSpiContext.readFromSwap(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads object from swap.
|
boolean |
GridSpiContext.removeFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes)
Removes data from off-heap memory.
|
boolean |
GridSpiContext.removeFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes)
Removes data from off-heap memory.
|
void |
GridSpiContext.removeFromSwap(String spaceName,
Object key,
ClassLoader ldr)
Removes object from swap.
|
void |
GridSpi.spiStart(String gridName)
This method is called to start SPI.
|
void |
GridSpiContext.writeToOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
Object val,
byte[] valBytes,
ClassLoader ldr)
Writes data to off-heap memory.
|
void |
GridSpiContext.writeToOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
Object val,
byte[] valBytes,
ClassLoader ldr)
Writes data to off-heap memory.
|
void |
GridSpiContext.writeToOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
Object val,
byte[] valBytes,
ClassLoader ldr)
Writes data to off-heap memory.
|
void |
GridSpiContext.writeToOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
Object val,
byte[] valBytes,
ClassLoader ldr)
Writes data to off-heap memory.
|
void |
GridSpiContext.writeToSwap(String spaceName,
Object key,
Object val,
ClassLoader ldr)
Writes object to swap.
|
void |
GridSpiContext.writeToSwap(String spaceName,
Object key,
Object val,
ClassLoader ldr)
Writes object to swap.
|
| Constructor and Description |
|---|
GridSpiMultiException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
GridSpiMultiException(String msg,
Throwable cause,
Collection<Throwable> nestedCauses)
Creates new exception with given error message and optional nested exception.
|
GridSpiMultiException(String msg,
Throwable cause,
Collection<Throwable> nestedCauses)
Creates new exception with given error message and optional nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridCheckpointSpi.loadCheckpoint(String key)
Loads checkpoint from storage by its unique key.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridCacheCheckpointSpi.loadCheckpoint(String key)
Loads checkpoint from storage by its unique key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheCheckpointSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridNoopCheckpointSpi.loadCheckpoint(String key)
Loads checkpoint from storage by its unique key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNoopCheckpointSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCollisionSpi.setExternalCollisionListener(GridCollisionExternalListener lsnr)
Listener to be set for notification of external collision events (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNoopCollisionSpi.setExternalCollisionListener(GridCollisionExternalListener lsnr)
Listener to be set for notification of external collision events (e.g.
|
void |
GridNoopCollisionSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCommunicationSpi.setListener(GridCommunicationListener<T> lsnr)
Set communication listener.
|
| Modifier and Type | Method and Description |
|---|---|
protected GridCommunicationClient |
GridTcpCommunicationSpi.createNioClient(GridNode node) |
protected GridCommunicationClient |
GridTcpCommunicationSpi.createShmemClient(GridNode node,
Integer port) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDeploymentSpi.setListener(GridDeploymentListener lsnr)
Sets or unsets deployment event listener.
|
| Modifier and Type | Method and Description |
|---|---|
GridDeploymentResource |
GridLocalDeploymentSpi.findResource(String rsrcName)
Finds class loader for the given class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridLocalDeploymentSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridDiscoverySpi.getNode(UUID nodeId)
Gets node by ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDiscoverySpiListener.onDiscovery(int type,
long topVer,
GridNode node,
Collection<GridNode> topSnapshot,
Map<Long,Collection<GridNode>> topHist)
Notification for grid node discovery events.
|
void |
GridDiscoverySpi.setListener(GridDiscoverySpiListener lsnr)
Sets a listener for discovery events.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
GridTcpDiscoverySpi.getCoordinator()
Gets current coordinator.
|
UUID |
GridTcpDiscoverySpiMBean.getCoordinator()
Gets current coordinator.
|
String |
GridTcpDiscoverySpi.getMetricsStoreFormatted()
Gets
GridTcpDiscoveryMetricsStore (string representation). |
String |
GridTcpDiscoverySpiMBean.getMetricsStoreFormatted()
Gets
GridTcpDiscoveryMetricsStore (string representation). |
GridNode |
GridTcpDiscoverySpi.getNode(UUID nodeId)
Gets node by ID.
|
| Modifier and Type | Method and Description |
|---|---|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.coordinator()
Finds coordinator in the topology.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.coordinator(Collection<GridTcpDiscoveryNode> excluded)
Finds coordinator in the topology filtering excluded nodes from the search.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.nextNode()
Finds next node in the topology.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.nextNode(Collection<GridTcpDiscoveryNode> excluded)
Finds next node in the topology filtering excluded nodes from search.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.node(UUID nodeId)
Finds node by ID.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.previousNode()
Finds previous node in the topology.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.previousNode(Collection<GridTcpDiscoveryNode> excluded)
Finds previous node in the topology filtering excluded nodes from search.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.removeNode(UUID nodeId)
Removes node from the topology.
|
| Modifier and Type | Method and Description |
|---|---|
int |
GridTcpDiscoveryNode.compareTo(GridTcpDiscoveryNode node) |
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.coordinator(Collection<GridTcpDiscoveryNode> excluded)
Finds coordinator in the topology filtering excluded nodes from the search.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.nextNode(Collection<GridTcpDiscoveryNode> excluded)
Finds next node in the topology filtering excluded nodes from search.
|
GridTcpDiscoveryNode |
GridTcpDiscoveryNodesRing.previousNode(Collection<GridTcpDiscoveryNode> excluded)
Finds previous node in the topology filtering excluded nodes from search.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridTcpDiscoveryAbstractMessage> |
GridTcpDiscoveryNodeAddedMessage.messages()
Gets pending messages sent to new node by its previous.
|
Collection<GridTcpDiscoveryNode> |
GridTcpDiscoveryNodeAddedMessage.topology()
Gets topology.
|
Map<Long,Collection<GridNode>> |
GridTcpDiscoveryNodeAddedMessage.topologyHistory()
Gets topology snapshots history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridTcpDiscoveryNodeAddedMessage.messages(Collection<GridTcpDiscoveryAbstractMessage> msgs)
Sets pending messages to send to new node.
|
void |
GridTcpDiscoveryNodeAddedMessage.topology(Collection<GridTcpDiscoveryNode> top)
Sets topology.
|
void |
GridTcpDiscoveryNodeAddedMessage.topologyHistory(Map<Long,Collection<GridNode>> topHist)
Sets topology snapshots history.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridIndexingEntity.bytes()
Optional bytes for marshaled indexed value.
|
T |
GridIndexingEntity.value()
Gets indexed value.
|
| Modifier and Type | Method and Description |
|---|---|
<K> void |
GridIndexingSpi.onSwap(String spaceName,
String swapSpaceName,
K key)
Will be called when entry with given key is swapped.
|
<K> void |
GridNoopIndexingSpi.onSwap(String spaceName,
String swapSpaceName,
K key)
Will be called when entry with given key is swapped.
|
<K,V> void |
GridIndexingSpi.onUnswap(String spaceName,
K key,
V val,
byte[] valBytes)
Will be called when entry with given key is unswapped.
|
<K,V> void |
GridNoopIndexingSpi.onUnswap(String spaceName,
K key,
V val,
byte[] valBytes)
Will be called when entry with given key is unswapped.
|
<K,V> GridSpiCloseableIterator<GridIndexingKeyValueRow<K,V>> |
GridIndexingSpi.query(String spaceName,
String qry,
Collection<Object> params,
GridIndexingTypeDescriptor type,
GridIndexingQueryFilter<K,V>... filters)
Executes regular query.
|
<K,V> GridSpiCloseableIterator<GridIndexingKeyValueRow<K,V>> |
GridNoopIndexingSpi.query(String spaceName,
String qry,
Collection<Object> params,
GridIndexingTypeDescriptor type,
GridIndexingQueryFilter<K,V>... filters)
Executes regular query.
|
<K,V> GridIndexingFieldsResult |
GridIndexingSpi.queryFields(String spaceName,
String qry,
Collection<Object> params,
GridIndexingQueryFilter<K,V>... filters)
Queries individual fields (generally used by JDBC drivers).
|
<K,V> GridIndexingFieldsResult |
GridNoopIndexingSpi.queryFields(String spaceName,
String qry,
Collection<Object> params,
GridIndexingQueryFilter<K,V>... filters)
Queries individual fields (generally used by JDBC drivers).
|
<K,V> GridSpiCloseableIterator<GridIndexingKeyValueRow<K,V>> |
GridIndexingSpi.queryText(String spaceName,
String qry,
GridIndexingTypeDescriptor type,
GridIndexingQueryFilter<K,V>... filters)
Executes text query.
|
<K,V> GridSpiCloseableIterator<GridIndexingKeyValueRow<K,V>> |
GridNoopIndexingSpi.queryText(String spaceName,
String qry,
GridIndexingTypeDescriptor type,
GridIndexingQueryFilter<K,V>... filters)
Executes text query.
|
void |
GridIndexingSpi.rebuildIndexes(String spaceName,
GridIndexingTypeDescriptor type)
Rebuilds all indexes of given type.
|
void |
GridNoopIndexingSpi.rebuildIndexes(String spaceName,
GridIndexingTypeDescriptor type)
Rebuilds all indexes of given type.
|
boolean |
GridIndexingSpi.registerType(String spaceName,
GridIndexingTypeDescriptor desc)
Registers type if it was not known before or updates it otherwise.
|
boolean |
GridNoopIndexingSpi.registerType(String spaceName,
GridIndexingTypeDescriptor desc)
Registers type if it was not known before or updates it otherwise.
|
<K> boolean |
GridIndexingSpi.remove(String spaceName,
GridIndexingEntity<K> key)
Removes index entry by key.
|
<K> boolean |
GridNoopIndexingSpi.remove(String spaceName,
GridIndexingEntity<K> key)
Removes index entry by key.
|
long |
GridIndexingSpi.size(String spaceName,
GridIndexingTypeDescriptor desc)
Gets size of index for given type or -1 if it is a unknown type.
|
long |
GridNoopIndexingSpi.size(String spaceName,
GridIndexingTypeDescriptor desc)
Gets size of index for given type or -1 if it is a unknown type.
|
void |
GridNoopIndexingSpi.spiStart(String gridName)
This method is called to start SPI.
|
<K,V> void |
GridIndexingSpi.store(String spaceName,
GridIndexingTypeDescriptor type,
GridIndexingEntity<K> key,
GridIndexingEntity<V> val,
byte[] ver,
long expirationTime)
Updates index.
|
<K,V> void |
GridNoopIndexingSpi.store(String spaceName,
GridIndexingTypeDescriptor type,
GridIndexingEntity<K> key,
GridIndexingEntity<V> val,
byte[] ver,
long expirationTime)
Updates index.
|
void |
GridIndexingSpi.unregisterType(String spaceName,
GridIndexingTypeDescriptor type)
Unregisters type and removes all corresponding data.
|
void |
GridNoopIndexingSpi.unregisterType(String spaceName,
GridIndexingTypeDescriptor type)
Unregisters type and removes all corresponding data.
|
| Constructor and Description |
|---|
GridIndexingEntityAdapter(T val,
byte[] bytes) |
GridIndexingFieldsResultAdapter(List<GridIndexingFieldMetadata> metaData,
GridCloseableIterator<List<GridIndexingEntity<?>>> it)
Creates query field result composed of field metadata and iterator
over queried fields.
|
GridIndexingKeyValueRowAdapter(GridIndexingEntity<K> key,
GridIndexingEntity<V> val,
byte[] ver)
Constructs query index row.
|
GridIndexingKeyValueRowAdapter(GridIndexingEntity<K> key,
GridIndexingEntity<V> val,
byte[] ver)
Constructs query index row.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridAdaptiveLoadBalancingSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridRoundRobinLoadBalancingSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridWeightedRandomLoadBalancingSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridSecureSessionSpi.generateSessionToken(GridSecuritySubjectType subjType,
UUID subjId,
Object params)
Generates new session token.
|
boolean |
GridSecureSessionSpi.validate(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params)
Validates given session token.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridNoopSecureSessionSpi.generateSessionToken(GridSecuritySubjectType subjType,
UUID subjId,
Object params)
Generates new session token.
|
boolean |
GridNoopSecureSessionSpi.validate(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params)
Validates given session token.
|
boolean |
GridNoopSecureSessionSpi.validate(GridSecuritySubjectType subjType,
UUID subjId,
byte[] tok,
Object params)
Validates given session token.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridSwapKey.keyBytes() |
<K> GridSpiCloseableIterator<K> |
GridSwapSpaceSpi.keyIterator(String spaceName,
GridSwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
GridSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
GridSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridSwapSpaceSpi.clear(String spaceName)
Entirely clears data space with given name, if any.
|
long |
GridSwapSpaceSpi.count(String spaceName)
Gets number of stored entries (keys) in data space with given name.
|
<K> GridSpiCloseableIterator<K> |
GridSwapSpaceSpi.keyIterator(String spaceName,
GridSwapContext ctx)
Gets iterator over space keys.
|
void |
GridSwapSpaceSpiListener.onSwapEvent(int evtType,
String spaceName,
byte[] keyBytes)
Notification for swap space events.
|
void |
GridSwapSpaceSpiListener.onSwapEvent(int evtType,
String spaceName,
byte[] keyBytes)
Notification for swap space events.
|
Collection<Integer> |
GridSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
GridSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<GridSwapKey,byte[]> |
GridSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
GridSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridSwapSpaceSpi.setListener(GridSwapSpaceSpiListener evictLsnr)
Sets eviction listener to receive notifications on evicted swap entries.
|
long |
GridSwapSpaceSpi.size(String spaceName)
Gets size in bytes for data space with given name.
|
void |
GridSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
GridSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
GridSwapSpaceSpi.storeAll(String spaceName,
Map<GridSwapKey,byte[]> pairs,
GridSwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
| Constructor and Description |
|---|
GridSwapKey(Object key,
int part,
byte[] keyBytes) |
| Modifier and Type | Method and Description |
|---|---|
<K> GridSpiCloseableIterator<K> |
GridFileSwapSpaceSpi.keyIterator(String spaceName,
GridSwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
GridFileSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridFileSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridFileSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
GridFileSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridFileSwapSpaceSpi.clear(String spaceName)
Entirely clears data space with given name, if any.
|
long |
GridFileSwapSpaceSpi.count(String spaceName)
Gets number of stored entries (keys) in data space with given name.
|
<K> GridSpiCloseableIterator<K> |
GridFileSwapSpaceSpi.keyIterator(String spaceName,
GridSwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
GridFileSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridFileSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridFileSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
GridFileSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<GridSwapKey,byte[]> |
GridFileSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
GridFileSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridFileSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridFileSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridFileSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridFileSwapSpaceSpi.setListener(GridSwapSpaceSpiListener evictLsnr)
Sets eviction listener to receive notifications on evicted swap entries.
|
long |
GridFileSwapSpaceSpi.size(String spaceName)
Gets size in bytes for data space with given name.
|
void |
GridFileSwapSpaceSpi.spiStart(String gridName)
This method is called to start SPI.
|
void |
GridFileSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
GridFileSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
GridFileSwapSpaceSpi.storeAll(String spaceName,
Map<GridSwapKey,byte[]> pairs,
GridSwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridNoopSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNoopSwapSpaceSpi.clear(String space)
Entirely clears data space with given name, if any.
|
long |
GridNoopSwapSpaceSpi.count(String space)
Gets number of stored entries (keys) in data space with given name.
|
<K> GridSpiCloseableIterator<K> |
GridNoopSwapSpaceSpi.keyIterator(String spaceName,
GridSwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
GridNoopSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridNoopSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
GridSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
GridNoopSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
GridNoopSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<GridSwapKey,byte[]> |
GridNoopSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
GridNoopSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridNoopSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridNoopSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridNoopSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridNoopSwapSpaceSpi.setListener(GridSwapSpaceSpiListener evictLsnr)
Sets eviction listener to receive notifications on evicted swap entries.
|
long |
GridNoopSwapSpaceSpi.size(String space)
Gets size in bytes for data space with given name.
|
void |
GridNoopSwapSpaceSpi.spiStart(String gridName)
This method is called to start SPI.
|
void |
GridNoopSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
GridNoopSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
GridNoopSwapSpaceSpi.storeAll(String spaceName,
Map<GridSwapKey,byte[]> pairs,
GridSwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GridAboutDialog.centerShow(String appName,
String bannerSpec,
String ver,
Date release,
String copyright,
GridProductLicense lic)
Show about dialog.
|
| Modifier and Type | Method and Description |
|---|---|
E |
GridStreamerWindow.dequeue()
Dequeues last element from windows.
|
String |
GridStreamerConfiguration.getName()
Gets streamer name.
|
String |
GridStreamerMBean.getName()
Gets streamer name.
|
GridStreamerEventRouter |
GridStreamerConfiguration.getRouter()
Gets streamer event router.
|
String |
GridStreamer.name()
Gets streamer name.
|
E |
GridStreamerWindow.pollEvicted()
If window supports eviction, this method will return next evicted element.
|
<T> Map<GridNode,Collection<T>> |
GridStreamerEventRouter.route(GridStreamerContext ctx,
String stageName,
Collection<T> evts)
Selects a node for given events that should be processed by a stage with given name.
|
<T> GridNode |
GridStreamerEventRouter.route(GridStreamerContext ctx,
String stageName,
T evt)
Selects a node for given event that should be processed by a stage with given name.
|
Map<String,Collection<?>> |
GridStreamerStage.run(GridStreamerContext ctx,
Collection<IN> evts)
Stage execution routine.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> GridStreamerIndex<E,K,V> |
GridStreamerWindow.index(String name)
Gets index by name, if not index with such name was configured then
IllegalArgumentException will be thrown. |
| Modifier and Type | Method and Description |
|---|---|
GridStreamerIndexEntry<E,K,V> |
GridStreamerIndex.entry(K key)
Gets index entry for given key.
|
Collection<E> |
GridStreamerIndexEntry.events()
Gets events associated with given index key and value.
|
GridStreamerIndexEntry<E,K,V> |
GridStreamerIndex.firstEntry()
Gets first entry in the index.
|
K |
GridStreamerIndexUpdater.indexKey(E evt)
Given an event, extract index key.
|
V |
GridStreamerIndexUpdater.initialValue(E evt,
K key)
Gets initial value for the index or
null if event should be ignored. |
GridStreamerIndexProviderAdapter.IndexKey<V> |
GridStreamerIndexProviderAdapter.Entry.keyIndex() |
GridStreamerIndexEntry<E,K,V> |
GridStreamerIndex.lastEntry()
Gets last entry in the index.
|
String |
GridStreamerIndex.name()
Index name.
|
String |
GridStreamerIndexProviderMBean.name()
Index name.
|
V |
GridStreamerIndexUpdater.onAdded(GridStreamerIndexEntry<E,K,V> entry,
E evt)
Callback invoked whenever an event is being added to the window.
|
V |
GridStreamerIndexUpdater.onRemoved(GridStreamerIndexEntry<E,K,V> entry,
E evt)
Callback invoked whenever an event is being removed from the window and has
index entry for given key.
|
Map<E,Integer> |
GridStreamerIndexProviderAdapter.DedupTrackingEntry.rawEvents() |
protected static <E> Collection<E> |
GridStreamerIndexProviderAdapter.removeFromCollection(Collection<E> col,
E evt) |
protected static <E> Map<E,Integer> |
GridStreamerIndexProviderAdapter.removeFromMap(Map<E,Integer> map,
E evt) |
| Modifier and Type | Method and Description |
|---|---|
protected GridStreamerIndexProviderAdapter.Entry<E,K,V> |
GridStreamerIndexProviderAdapter.addEvent(GridStreamerIndexEntry<E,K,V> oldEntry,
K key,
V val,
GridStreamerIndexProviderAdapter.IndexKey<V> idxKey,
E evt) |
protected static <E> Collection<E> |
GridStreamerIndexProviderAdapter.addToCollection(Collection<E> col,
E evt) |
protected static <E> Map<E,Integer> |
GridStreamerIndexProviderAdapter.addToMap(Map<E,Integer> map,
E evt) |
Set<GridStreamerIndexEntry<E,K,V>> |
GridStreamerIndex.entrySet(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only set of index entries within given value range.
|
Set<GridStreamerIndexEntry<E,K,V>> |
GridStreamerIndex.entrySet(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only set of index entries within given value range.
|
Collection<E> |
GridStreamerIndex.events(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only collection of index events.
|
Collection<E> |
GridStreamerIndex.events(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only collection of index events.
|
Collection<E> |
GridStreamerIndex.events(V val)
Gets read-only collection of index events.
|
Set<K> |
GridStreamerIndex.keySet(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only set of index keys within given value range.
|
Set<K> |
GridStreamerIndex.keySet(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only set of index keys within given value range.
|
protected GridStreamerIndexProviderAdapter.Entry<E,K,V> |
GridStreamerIndexProviderAdapter.newEntry(K key,
V val,
GridStreamerIndexProviderAdapter.IndexKey<V> idxKey,
E evt) |
protected GridStreamerIndexProviderAdapter.Entry<E,K,V> |
GridStreamerIndexProviderAdapter.removeEvent(GridStreamerIndexEntry<E,K,V> oldEntry,
K key,
V val,
GridStreamerIndexProviderAdapter.IndexKey<V> idxKey,
E evt) |
protected static <E> Collection<E> |
GridStreamerIndexProviderAdapter.removeFromCollection(Collection<E> col,
E evt) |
protected static <E> Map<E,Integer> |
GridStreamerIndexProviderAdapter.removeFromMap(Map<E,Integer> map,
E evt) |
Collection<V> |
GridStreamerIndex.values(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only collection of index values within given value range.
|
Collection<V> |
GridStreamerIndex.values(boolean asc,
V fromVal,
boolean fromIncl,
V toVal,
boolean toIncl)
Gets read-only collection of index values within given value range.
|
| Constructor and Description |
|---|
GridStreamerIndexProviderAdapter.DedupTrackingEntry(Map<E,Integer> evts,
K key,
V val,
GridStreamerIndexProviderAdapter.IndexKey<V> idxKey) |
GridStreamerIndexProviderAdapter.EventTrackingEntry(Collection<E> evts,
K key,
V val,
GridStreamerIndexProviderAdapter.IndexKey<V> idxKey) |
GridStreamerIndexProviderAdapter.NonTrackingEntry(K key,
V val,
GridStreamerIndexProviderAdapter.IndexKey<V> idxKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
GridStreamerCacheAffinityEventRouter.CacheAffinityEvent.cacheName() |
| Constructor and Description |
|---|
GridStreamerRandomEventRouter(GridPredicate<GridNode>... predicates)
Constructs random event router with optional set of filters to apply to streamer projection.
|
| Modifier and Type | Method and Description |
|---|---|
GridPredicate<Object> |
GridStreamerWindowAdapter.getFilter()
Gets optional event filter.
|
protected E |
GridStreamerBoundedSizeWindow.pollInternal(Collection<E> col,
Set<E> set) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
GridStreamerBoundedSizeSortedWindow.addAllInternal(Collection<E> evts,
Collection<org.gridgain.grid.streamer.window.GridStreamerBoundedSizeSortedWindow.Holder<E>> col,
Set<E> set)
Adds all events to queue implementation.
|
protected boolean |
GridStreamerBoundedSizeSortedWindow.addInternal(E evt,
Collection<org.gridgain.grid.streamer.window.GridStreamerBoundedSizeSortedWindow.Holder<E>> col,
Set<E> set)
Adds event to queue implementation.
|
<K,V> GridStreamerIndex<E,K,V> |
GridStreamerWindowAdapter.index(String name)
Gets index by name, if not index with such name was configured then
IllegalArgumentException will be thrown. |
void |
GridStreamerWindowAdapter.setFilter(GridPredicate<Object> filter)
Sets event filter.
|
| Constructor and Description |
|---|
GridThreadPoolExecutor(int corePoolSize,
int maxPoolSize,
long keepAliveTime,
BlockingQueue<Runnable> workQ,
ThreadFactory threadFactory,
RejectedExecutionHandler hnd)
Creates a new service with the given initial parameters.
|
| Modifier and Type | Method and Description |
|---|---|
T |
GridCircularBuffer.add(T t) |
T |
GridCircularBuffer.add(T t,
GridInClosureX<T> c) |
E |
GridConcurrentLinkedHashSet.addx(E e)
Note that unlike regular add operation on a set, this method will only
add the passed in element if it's not already present in set.
|
E |
GridBoundedConcurrentLinkedHashSet.addx(E e)
Note that unlike regular add operation on a set, this method will only
add the passed in element if it's not already present in set.
|
E |
GridConcurrentHashSet.addx(E e)
Note that unlike regular add operation on a set, this method will only
add the passed in element if it's not already present in set.
|
V |
GridListSet.addx(V val)
Either adds a value to set or does nothing if value is already present.
|
static GridCacheAtomicityMode |
GridUtils.atomicityMode(GridNode n,
String cacheName)
Gets cache mode or a cache on given node or
null if cache is not
present on given node. |
static Class<?> |
GridUtils.box(Class<?> cls)
Gets wrapper class for a primitive type.
|
static GridCacheAttributes |
GridUtils.cacheAttributes(GridNode n,
String cacheName)
Gets cache attributes from the given node for the given cache name.
|
static GridCacheMode |
GridUtils.cacheMode(GridNode n,
String cacheName)
Gets cache mode or a cache on given node or
null if cache is not
present on given node. |
Comparator<V> |
GridListSet.comparator()
Gets optional comparator for this set.
|
static GridClientMarshaller |
GridUtils.createProtobufMarshaller(GridLogger log)
Creates new instance of Protobuf marshaller.
|
static Method |
GridUtils.ctorFactory()
Return SUN specific constructor factory.
|
static ClassLoader |
GridUtils.detectObjectClassLoader(Object obj)
Detects class loader for given object's class.
|
V |
GridListSet.first()
Gets first element of this list.
|
Field |
GridReflectionCache.firstField(Class<?> cls)
Gets first field in the class list of fields.
|
Object |
GridReflectionCache.firstFieldValue(Object o)
Gets field value for object.
|
Method |
GridReflectionCache.firstMethod(Class<?> cls)
Gets first method in the class list of methods.
|
Object |
GridReflectionCache.firstMethodValue(Object o)
Gets method return value for object.
|
static <T> T |
GridUtils.firstNotNull(T... vals)
Returns a first non-null value in a given array, if such is present.
|
E |
GridConcurrentSkipListSet.firstx()
Same as
GridConcurrentSkipListSet.first(), but returns null if set is empty. |
static Constructor<?> |
GridUtils.forceEmptyConstructor(Class<?> cls)
Gets empty constructor for class even if the class does not have empty constructor
declared.
|
static <T> T |
GridUtils.forceNewInstance(Class<?> cls)
Creates new instance of a class even if it does not have public constructor.
|
static Class<?> |
GridUtils.forName(String clsName,
ClassLoader ldr)
Gets class for provided name.
|
V |
GridLeanMap.get(Object key) |
V |
GridListSet.get(V val)
Gets instance
e stored in this set for which e.equals(val)
returns true. |
static <T extends Annotation> |
GridAnnotationsCache.getAnnotation(Class<?> cls,
Class<T> annCls) |
static <T extends Annotation> |
GridUtils.getAnnotation(Class<?> cls,
Class<T> annCls)
Gets annotation for a class.
|
static String |
GridUtils.getGridGainHome()
Retrieves
GRIDGAIN_HOME property. |
static String |
GridUtils.getNetworkInterfaceName(String addr)
Gets display name of the network interface this IP address belongs to.
|
static String |
GridUtils.hidePassword(String uri)
Replace password in URI string with a single '*' character.
|
protected T |
GridThreadLocal.initialValue() |
protected T |
GridThreadLocalEx.initialValue() |
static String |
GridUtils.lambdaEnclosingClassName(String clsName)
Extracts full name of enclosing class from JDK8 lambda class name.
|
V |
GridListSet.last()
Gets last element of this list.
|
E |
GridConcurrentSkipListSet.lastx()
Same as
GridConcurrentSkipListSet.last(), but returns null if set is empty. |
static <T> T |
GridUtils.newInstance(Class<T> cls)
Creates new instance of a class only if it has an empty constructor (can be non-public).
|
N |
GridConsistentHash.node(Object key)
Gets node for a key.
|
N |
GridConsistentHash.node(Object key,
Collection<N> inc)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
Collection<N> inc,
Collection<N> exc)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
GridPredicate<N>... p)
Gets node for a given key.
|
E |
GridQueue.peek() |
E |
GridQueue.poll()
Polls element from head of the queue.
|
E |
GridConcurrentSkipListSet.pollFirst() |
E |
GridConcurrentSkipListSet.pollLast() |
V |
GridLeanMap.put(K key,
V val) |
V |
GridBoundedConcurrentOrderedMap.put(K k,
V v) |
V |
GridBoundedConcurrentOrderedMap.putIfAbsent(K k,
V v) |
N |
GridConsistentHash.random()
Picks a random node from consistent hash.
|
static Object[] |
GridUtils.readArray(ObjectInput in)
Reads array from input stream.
|
static boolean[] |
GridUtils.readBooleanArray(DataInput in)
Reads boolean array from input stream accounting for null values.
|
static byte[] |
GridUtils.readByteArray(DataInput in)
Reads byte array from input stream accounting for null values.
|
static List<Byte> |
GridUtils.readByteList(DataInput in)
// FIXME: added for DR dataCenterIds, review if it is needed after GG-6879.
|
static <E> Collection<E> |
GridUtils.readCollection(ObjectInput in) |
static <K,V> GridPredicate<GridCacheEntry<K,V>>[] |
GridUtils.readEntryFilterArray(ObjectInput in)
Reads array from input stream.
|
static GridLongList |
GridLongList.readFrom(DataInput in) |
static GridUuid |
GridUtils.readGridUuid(DataInput in)
Reads
GridUuid from input stream. |
static List<GridUuid> |
GridUtils.readGridUuids(DataInput in)
Reads Grid UUIDs from input stream.
|
static Collection<Integer> |
GridUtils.readIntCollection(DataInput in) |
static Map<Integer,Integer> |
GridUtils.readIntKeyIntValueMap(DataInput in) |
static <V> Map<Integer,V> |
GridUtils.readIntKeyMap(ObjectInput in) |
static List<Integer> |
GridUtils.readIntList(DataInput in) |
static Set<Integer> |
GridUtils.readIntSet(DataInput in) |
static <K,V> LinkedHashMap<K,V> |
GridUtils.readLinkedMap(ObjectInput in) |
static <E> List<E> |
GridUtils.readList(ObjectInput in) |
static <K,V> Map<K,V> |
GridUtils.readMap(ObjectInput in) |
static <E> Set<E> |
GridUtils.readSet(ObjectInput in) |
static String |
GridUtils.readString(DataInput in)
Reads string from input stream accounting for
null values. |
static <K,V> TreeMap<K,V> |
GridUtils.readTreeMap(ObjectInput in) |
static UUID |
GridUtils.readUuid(DataInput in)
Reads UUID from input stream.
|
static List<UUID> |
GridUtils.readUuids(DataInput in)
Reads UUIDs from input stream.
|
V |
GridLeanMap.remove(Object key) |
V |
GridListSet.removeFirst()
Removes the first element of this list.
|
V |
GridListSet.removeLast()
Removes the last element of this list.
|
V |
GridListSet.removex(V val)
Removes given value from the set and returns the instance stored in the set
or
null if value was not found. |
static File |
GridUtils.resolveGridGainPath(String path)
Gets file associated with path.
|
static URL |
GridUtils.resolveGridGainUrl(String path)
Gets URL representing the path passed in.
|
static URL |
GridUtils.resolveGridGainUrl(String path,
boolean metaInf)
Gets URL representing the path passed in.
|
static Object |
GridUtils.sunReflectionFactory()
SUN JDK specific reflection factory for objects without public constructor.
|
<T> Object |
GridKeyLock.tryLock(T key) |
static <R> R |
GridUtils.wrapThreadLoader(ClassLoader ldr,
Callable<R> c)
Sets thread context class loader to the given loader, executes the closure, and then
resets thread context class loader to its initial value.
|
static <R> R |
GridUtils.wrapThreadLoader(ClassLoader ldr,
GridOutClosure<R> c)
Sets thread context class loader to the given loader, executes the closure, and then
resets thread context class loader to its initial value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
GridCircularBuffer.add(T t,
GridInClosureX<T> c) |
boolean |
GridConcurrentPhantomHashSet.addAll(Collection<? extends E> c) |
boolean |
GridConcurrentWeakHashSet.addAll(Collection<? extends E> c) |
static GridLongList |
GridLongList.addAll(GridLongList to,
GridLongList from) |
static boolean |
GridUtils.addLastCause(Throwable e,
Throwable cause,
GridLogger log)
Adds cause to the end of cause chain.
|
static boolean |
GridUtils.addLastCause(Throwable e,
Throwable cause,
GridLogger log)
Adds cause to the end of cause chain.
|
boolean |
GridConsistentHash.addNode(N node,
int replicas)
Adds a node to consistent hash algorithm.
|
void |
GridConsistentHash.addNodes(Collection<N> nodes,
int replicas)
Adds nodes to consistent hash algorithm (if nodes are
null or empty, then no-op). |
static <T> GridPredicate<T> |
F0.and(GridPredicate<? super T>[] p1,
GridPredicate<? super T>... p2)
Get a predicate (non peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
F0.and(GridPredicate<? super T>[] p1,
GridPredicate<? super T>... p2)
Get a predicate (non peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
F0.and(GridPredicate<? super T> p,
GridPredicate<? super T>... ps)
Get a predicate (not peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
F0.and(GridPredicate<? super T> p,
GridPredicate<? super T>... ps)
Get a predicate (not peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
boolean |
GridConsistentHash.belongs(Object key,
Collection<N> nodes)
Checks if given key belongs to any of the given nodes.
|
boolean |
GridConsistentHash.belongs(Object key,
Collection<N> nodes)
Checks if given key belongs to any of the given nodes.
|
boolean |
GridConsistentHash.belongs(Object key,
int cnt,
Collection<N> nodes)
Checks if node the key is mapped to or the given count of its adjacent nodes are
contained in given set of nodes.
|
boolean |
GridConsistentHash.belongs(Object key,
int cnt,
Collection<N> nodes)
Checks if node the key is mapped to or the given count of its adjacent nodes are
contained in given set of nodes.
|
boolean |
GridConsistentHash.belongs(Object key,
int cnt,
N node)
Checks if node the key is mapped to or the given count of its adjacent nodes contain
the node passed in.
|
boolean |
GridConsistentHash.belongs(Object key,
N node)
Checks if key belongs to the given node.
|
static Class<?> |
GridUtils.box(Class<?> cls)
Gets wrapper class for a primitive type.
|
static GridCacheAttributes |
GridUtils.cacheAttributes(GridNode n,
String cacheName)
Gets cache attributes from the given node for the given cache name.
|
static void |
GridUtils.cancel(GridWorker w)
Cancels given runnable.
|
static void |
GridUtils.close(AbstractInterruptibleChannel rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(AbstractInterruptibleChannel rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Closeable rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Closeable rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Connection rsrc,
GridLogger log)
Closes JDBC connection logging possible checked exception.
|
static void |
GridUtils.close(Connection rsrc,
GridLogger log)
Closes JDBC connection logging possible checked exception.
|
static void |
GridUtils.close(Context rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Context rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(DatagramSocket rsrc)
Closes given resource.
|
static void |
GridUtils.close(Reader rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Reader rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(ResultSet rsrc,
GridLogger log)
Closes JDBC result set logging possible checked exception.
|
static void |
GridUtils.close(ResultSet rsrc,
GridLogger log)
Closes JDBC result set logging possible checked exception.
|
static void |
GridUtils.close(SelectionKey rsrc,
GridLogger log)
Closes given resource logging possible checked exceptions.
|
static void |
GridUtils.close(SelectionKey rsrc,
GridLogger log)
Closes given resource logging possible checked exceptions.
|
static void |
GridUtils.close(Selector rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Selector rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(ServerSocket rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(ServerSocket rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Socket rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Socket rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Statement rsrc,
GridLogger log)
Closes JDBC statement logging possible checked exception.
|
static void |
GridUtils.close(Statement rsrc,
GridLogger log)
Closes JDBC statement logging possible checked exception.
|
static void |
GridUtils.close(URLClassLoader clsLdr,
GridLogger log)
Closes class loader logging possible checked exception.
|
static void |
GridUtils.close(URLClassLoader clsLdr,
GridLogger log)
Closes class loader logging possible checked exception.
|
static void |
GridUtils.close(ZipFile rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(ZipFile rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.closeQuiet(AbstractInterruptibleChannel rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(Closeable rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(Connection rsrc)
Quietly closes JDBC connection ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(Context rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(Reader rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(ResultSet rsrc)
Quietly closes JDBC result set ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(SelectionKey rsrc)
Quietly closes given resource ignoring possible checked exceptions.
|
static void |
GridUtils.closeQuiet(Selector rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(ServerSocket rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(Socket rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(Statement rsrc)
Quietly closes JDBC statement ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(Writer rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
GridUtils.closeQuiet(ZipFile rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static int |
GridUtils.compareVersionNumbers(String v1,
String v2)
Compare java implementation version
|
static int |
GridUtils.compareVersionNumbers(String v1,
String v2)
Compare java implementation version
|
static <T> GridPredicate<T> |
F0.contains(Collection<T> c)
Provides predicate (not peer-deployable) which returns
true if it receives an element
that is contained in the passed in collection. |
boolean |
GridConcurrentPhantomHashSet.contains(Object o) |
boolean |
GridConcurrentWeakHashSet.contains(Object o) |
boolean |
GridConcurrentPhantomHashSet.containsAll(Collection<?> c) |
boolean |
GridConcurrentWeakHashSet.containsAll(Collection<?> c) |
static boolean |
GridUtils.containsObjectArray(Object[] arr,
Collection<Object> c)
Checks for containment of the value in the array.
|
static boolean |
GridUtils.containsObjectArray(Object[] arr,
Collection<Object> c)
Checks for containment of the value in the array.
|
static boolean |
GridUtils.containsObjectArray(Object[] arr,
Object val,
Object... vals)
Checks for containment of the value in the array.
|
static boolean |
GridUtils.containsObjectArray(Object[] arr,
Object val,
Object... vals)
Checks for containment of the value in the array.
|
static boolean |
GridUtils.containsStringArray(String[] arr,
String val,
boolean ignoreCase)
Checks for containment of given string value in the specified array.
|
static boolean |
GridUtils.containsStringCollection(Iterable<String> c,
String val,
boolean ignoreCase)
Checks for containment of given string value in the specified collection.
|
static void |
GridUtils.courtesy(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given messages as
quiet message or normal log WARN message in
org.gridgain.grid.CourtesyConfigNotice
category. |
static void |
GridUtils.courtesy(GridLogger log,
Object longMsg,
Object shortMsg)
Depending on whether or not log is provided and quiet mode is enabled logs given messages as
quiet message or normal log WARN message in
org.gridgain.grid.CourtesyConfigNotice
category. |
static String |
GridUtils.customDirectoryLogFileName(String dir,
String fileName)
Substitutes log directory with a custom one.
|
static ClassLoader |
GridUtils.detectObjectClassLoader(Object obj)
Detects class loader for given object's class.
|
static void |
GridUtils.dumpStack(GridLogger log,
String msg) |
static void |
GridUtils.dumpThreads(GridLogger log)
Performs thread dump and prints all available info to the given log.
|
boolean |
GridConcurrentPhantomHashSet.equals(Object o) |
boolean |
GridConcurrentWeakHashSet.equals(Object o) |
static <T> GridPredicate<T> |
F0.equalTo(T target)
Gets predicate (not perr-deployable) that evaluates to
true if its free variable is equal
to target or both are null. |
static void |
GridUtils.error(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log ERROR message.
|
static void |
GridUtils.error(GridLogger log,
Object longMsg,
Object shortMsg,
Throwable e)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log ERROR message.
|
static void |
GridUtils.error(GridLogger log,
Object longMsg,
Object shortMsg,
Throwable e)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log ERROR message.
|
static void |
GridUtils.error(GridLogger log,
Object shortMsg,
Throwable e)
Shortcut for
GridUtils.error(GridLogger, Object, Object, Throwable). |
static void |
GridUtils.error(GridLogger log,
Object shortMsg,
Throwable e)
Shortcut for
GridUtils.error(GridLogger, Object, Object, Throwable). |
static void |
GridLogThrottle.error(GridLogger log,
Throwable e,
String msg)
Logs error if needed.
|
static void |
GridLogThrottle.error(GridLogger log,
Throwable e,
String msg)
Logs error if needed.
|
static GridException |
GridUtils.exceptionWithSuppressed(String msg,
Collection<Throwable> suppressed)
Creates
GridException with the collection of suppressed exceptions. |
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
static <T> T |
GridUtils.firstNotNull(T... vals)
Returns a first non-null value in a given array, if such is present.
|
static Class<?> |
GridUtils.forName(String clsName,
ClassLoader ldr)
Gets class for provided name.
|
static Class<?> |
GridUtils.forName(String clsName,
ClassLoader ldr)
Gets class for provided name.
|
ReadWriteLock |
GridStripedReadWriteLock.getLock(Object o)
Returns lock for object.
|
Lock |
GridStripedLock.getLock(Object o)
Returns lock for object.
|
static Collection<UUID> |
GridUtils.gridIds(Collection<? extends Grid> grids)
Converts collection of Grid instances to collection of node IDs.
|
static Collection<String> |
GridUtils.grids2names(Collection<? extends Grid> grids)
Converts collection of Grid instances to collection of grid names.
|
static boolean |
GridUtils.hasCache(GridNode n,
String cacheName)
Checks if given node has specified cache started.
|
static boolean |
GridUtils.hasParent(ClassLoader parent,
ClassLoader ldr) |
static boolean |
GridUtils.hasStreamer(GridNode n,
String streamerName)
Checks if given node has specified streamer started.
|
static String |
GridUtils.hidePassword(String uri)
Replace password in URI string with a single '*' character.
|
static <T> GridPredicate<T> |
F0.in(Collection<? extends T> c)
Gets predicate (not peer-deployable) that returns
true if its free variable is contained
in given collection. |
static void |
GridLogThrottle.info(GridLogger log,
String msg)
Logs info if needed.
|
static void |
GridUtils.interrupt(Thread t)
Convenience method that interrupts a given thread if it's not
null. |
static <T> T |
GridUtils.invoke(Class<?> cls,
Object obj,
String mtdName,
Class[] paramTypes,
Object... params)
Invokes method.
|
static <T> T |
GridUtils.invoke(Class<?> cls,
Object obj,
String mtdName,
Class[] paramTypes,
Object... params)
Invokes method.
|
static boolean |
F0.isAllNodePredicates(GridPredicate<?>... ps)
Tests if all passed in predicates are instances of
GridNodePredicate class. |
static boolean |
F0.isAllNodePredicates(Iterable<? extends GridPredicate<?>> ps)
Tests if all passed in predicates are instances of
GridNodePredicate class. |
static boolean |
GridUtils.isLoadableBy(String clsName,
ClassLoader ldr)
Tests whether or not given class is loadable provided class loader.
|
static boolean |
GridUtils.join(GridWorker w,
GridLogger log)
Joins runnable.
|
static boolean |
GridUtils.join(GridWorker w,
GridLogger log)
Joins runnable.
|
static boolean |
GridUtils.join(Thread t,
GridLogger log)
Waits for completion of a given thread.
|
static boolean |
GridUtils.join(Thread t,
GridLogger log)
Waits for completion of a given thread.
|
static boolean |
GridUtils.joinThreads(Iterable<? extends Thread> workers,
GridLogger log)
Waits for completion of a given threads.
|
void |
GridStripedLock.lock(Object o)
Locks an object.
|
static void |
GridUtils.log(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log INF0 message.
|
static void |
GridUtils.log(GridLogger log,
Object longMsg,
Object shortMsg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log INFO message.
|
static ObjectName |
GridUtils.makeCacheMBeanName(String gridName,
String cacheName,
String name)
Constructs JMX object name with given properties.
|
static ObjectName |
GridUtils.makeCacheMBeanName(String gridName,
String cacheName,
String name)
Constructs JMX object name with given properties.
|
static ObjectName |
GridUtils.makeMBeanName(String gridName,
String grp,
String name)
Constructs JMX object name with given properties.
|
static ObjectName |
GridUtils.makeMBeanName(String gridName,
String grp,
String name)
Constructs JMX object name with given properties.
|
static String |
GridUtils.maskName(String cacheName)
Mask component name to make sure that it is not
null. |
N |
GridConsistentHash.node(Object key)
Gets node for a key.
|
N |
GridConsistentHash.node(Object key,
Collection<N> inc)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
Collection<N> inc)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
Collection<N> inc,
Collection<N> exc)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
Collection<N> inc,
Collection<N> exc)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
Collection<N> inc,
Collection<N> exc)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
GridPredicate<N>... p)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
GridPredicate<N>... p)
Gets node for a given key.
|
static Collection<UUID> |
GridUtils.nodeIds(Collection<? extends GridNode> nodes)
Converts collection of nodes to collection of node IDs.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
Collection<N> inc)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
Collection<N> inc)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
Collection<N> inc,
Collection<N> exc)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
Collection<N> inc,
Collection<N> exc)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
Collection<N> inc,
Collection<N> exc)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
GridPredicate<N>... p)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
GridPredicate<N>... p)
Gets specified count of adjacent nodes for a given key.
|
static Collection<String> |
GridUtils.nodes2names(Collection<? extends GridNode> nodes)
Converts collection of grid nodes to collection of grid names.
|
static <T> GridPredicate<T> |
F0.not(GridPredicate<? super T>... p)
Negates given predicates.
|
static <T> GridPredicate<T> |
F0.notContains(Collection<T> c)
Provides predicate (not peer-deployable) which returns
true if it receives an element
that is not contained in the passed in collection. |
static <T> GridPredicate<T> |
F0.notEqualTo(T target)
Gets predicate (not peer-deployable) that evaluates to
true if its free variable is not equal
to target or both are null. |
static <T> GridPredicate<T> |
F0.notIn(Collection<? extends T> c)
Gets predicate (not peer-deployable) that returns
true if its free variable
is not contained in given collection. |
static void |
GridArgumentCheck.notNull(Object val,
String name)
Checks if given argument value is not
null. |
static GridPeerDeployAware |
GridUtils.peerDeployAware0(Iterable<?> c)
Gets the peer deploy aware instance for the object with the widest class loader.
|
static GridPeerDeployAware |
GridUtils.peerDeployAware0(Object... c)
Gets the peer deploy aware instance for the object with the widest class loader.
|
static <T> ObjectName |
GridUtils.registerCacheMBean(MBeanServer mbeanSrv,
String gridName,
String cacheName,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
GridUtils.registerCacheMBean(MBeanServer mbeanSrv,
String gridName,
String cacheName,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
GridUtils.registerMBean(MBeanServer mbeanSrv,
String gridName,
String grp,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
GridUtils.registerMBean(MBeanServer mbeanSrv,
String gridName,
String grp,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
GridUtils.registerMBean(MBeanServer mbeanSrv,
String gridName,
String grp,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static void |
GridUtils.releaseQuiet(FileLock lock)
Quietly releases file lock ignoring all possible exceptions.
|
boolean |
GridConcurrentPhantomHashSet.remove(Object o) |
boolean |
GridConcurrentWeakHashSet.remove(Object o) |
boolean |
GridConcurrentPhantomHashSet.removeAll(Collection<?> c) |
boolean |
GridConcurrentWeakHashSet.removeAll(Collection<?> c) |
boolean |
GridConsistentHash.removeNode(N node)
Removes a node and all of its replicas.
|
void |
GridConsistentHash.removeNodes(Collection<N> nodes)
Removes given nodes and all their replicas from consistent hash algorithm
(if nodes are
null or empty, then no-op). |
static InetAddress |
GridUtils.resolveLocalHost(String hostName)
Tries to resolve host by name, returning local host if input is empty.
|
boolean |
GridConcurrentPhantomHashSet.retainAll(Collection<?> c) |
boolean |
GridConcurrentWeakHashSet.retainAll(Collection<?> c) |
static void |
GridUtils.rollbackConnection(Connection rsrc,
GridLogger log)
Rollbacks JDBC connection logging possible checked exception.
|
static void |
GridUtils.rollbackConnection(Connection rsrc,
GridLogger log)
Rollbacks JDBC connection logging possible checked exception.
|
static void |
GridUtils.rollbackConnectionQuiet(Connection rsrc)
Quietly rollbacks JDBC connection ignoring possible checked exception.
|
static void |
GridUtils.setGridGainHome(String path) |
static void |
GridUtils.setWorkDirectory(String userWorkDir,
String userGgHome) |
static void |
GridUtils.setWorkDirectory(String userWorkDir,
String userGgHome) |
static void |
GridUtils.shutdownNow(Class<?> owner,
ExecutorService exec,
GridLogger log)
Shutdowns given
ExecutorService and wait for executor service to stop. |
static void |
GridUtils.shutdownNow(Class<?> owner,
ExecutorService exec,
GridLogger log)
Shutdowns given
ExecutorService and wait for executor service to stop. |
static int[] |
GridUtils.toIntArray(Collection<Integer> c)
Converts collection of integers into array.
|
static List<Integer> |
GridUtils.toIntList(int[] arr,
GridPredicate<Integer>... p)
Converts array of integers into list.
|
static long[] |
GridUtils.toLongArray(Collection<Long> c)
Converts collection of integers into array.
|
static List<Long> |
GridUtils.toLongList(long[] arr)
Converts array of longs into list.
|
void |
GridStripedLock.unlock(Object o)
Unlocks an object.
|
static void |
GridUtils.unzip(File zipFile,
File toDir,
GridLogger log)
Unzip file to folder.
|
static byte[] |
GridUtils.uuidToBytes(UUID uuid)
Converts an UUID to byte array.
|
static int |
GridUtils.uuidToBytes(UUID uuid,
byte[] arr,
int off)
Encodes
UUID into a sequence of bytes using the ByteBuffer,
storing the result into a new byte array. |
static void |
GridUtils.warn(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log WARN message.
|
static void |
GridUtils.warn(GridLogger log,
Object longMsg,
Object shortMsg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log WARN message.
|
static void |
GridLogThrottle.warn(GridLogger log,
Throwable e,
String msg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(GridLogger log,
Throwable e,
String msg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(GridLogger log,
Throwable e,
String longMsg,
String shortMsg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(GridLogger log,
Throwable e,
String longMsg,
String shortMsg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(GridLogger log,
Throwable e,
String longMsg,
String shortMsg)
Logs warning if needed.
|
static <E extends Throwable> |
GridUtils.withCause(E e,
Throwable cause)
Utility method that sets cause into exception and returns it.
|
static <T extends GridMetadataAware> |
GridUtils.withMeta(T t,
Object obj)
Copies metadata from given object into the passed in metadata aware
instance - if object is not
null and implements GridMetadataAware. |
static void |
GridUtils.writeBooleanArray(DataOutput out,
boolean[] arr)
Writes boolean array to output stream accounting for null values.
|
static void |
GridUtils.writeByteArray(DataOutput out,
byte[] arr)
Writes byte array to output stream accounting for null values.
|
static void |
GridUtils.writeGridUuids(DataOutput out,
Collection<GridUuid> col)
Writes Grid UUIDs to output stream.
|
static void |
GridUtils.writeStringMap(DataOutput out,
Map<String,String> map)
Writes string-to-string map to given data output.
|
static void |
GridLongList.writeTo(DataOutput out,
GridLongList list) |
static void |
GridUtils.writeUuids(DataOutput out,
Collection<UUID> col)
Writes UUIDs to output stream.
|
| Constructor and Description |
|---|
GridConsistentHash(Comparator<N> nodesComp,
Object affSeed)
Constructs consistent hash using given affinity seed and hasher function.
|
GridConsistentHash(Comparator<N> nodesComp,
Object affSeed)
Constructs consistent hash using given affinity seed and hasher function.
|
GridConsistentHash(Object affSeed)
Constructs consistent hash using given affinity seed and
MD5 hasher function. |
GridListSet(Comparator<V> comp)
If comparator is not
null, then sorted list set will be created. |
GridListSet(Comparator<V> comp,
boolean strict)
If comparator is not
null, then sorted list set will be created. |
GridReflectionCache(GridPredicate<Field> fp,
GridPredicate<Method> mp)
Reflection cache with specified field and method predicates.
|
GridReflectionCache(GridPredicate<Field> fp,
GridPredicate<Method> mp)
Reflection cache with specified field and method predicates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridTcpCommunicationMessageAdapter.messageReader(GridNioMessageReader msgReader,
UUID nodeId) |
void |
GridTcpCommunicationMessageState.messageReader(GridNioMessageReader msgReader,
UUID nodeId) |
void |
GridTcpCommunicationMessageAdapter.messageWriter(GridNioMessageWriter msgWriter,
UUID nodeId) |
void |
GridTcpCommunicationMessageState.messageWriter(GridNioMessageWriter msgWriter,
UUID nodeId) |
boolean |
GridTcpCommunicationMessageState.putBitSet(BitSet bits) |
boolean |
GridTcpCommunicationMessageState.putByteArray(byte[] arr) |
boolean |
GridTcpCommunicationMessageState.putByteArrayList(GridByteArrayList list) |
boolean |
GridTcpCommunicationMessageState.putCacheVersion(GridCacheVersion ver) |
boolean |
GridTcpCommunicationMessageState.putClockDeltaVersion(GridClockDeltaVersion ver) |
boolean |
GridTcpCommunicationMessageState.putDhtPartitionExchangeId(GridDhtPartitionExchangeId id) |
boolean |
GridTcpCommunicationMessageState.putDrInternalRequestEntry(GridDrInternalRequestEntry e) |
boolean |
GridTcpCommunicationMessageState.putEnum(Enum<?> e) |
boolean |
GridTcpCommunicationMessageState.putGridUuid(GridUuid uuid) |
boolean |
GridTcpCommunicationMessageState.putLongList(GridLongList list) |
boolean |
GridTcpCommunicationMessageState.putMessage(GridTcpCommunicationMessageAdapter msg) |
boolean |
GridTcpCommunicationMessageState.putString(String str) |
boolean |
GridTcpCommunicationMessageState.putUuid(UUID uuid) |
boolean |
GridTcpCommunicationMessageState.putUuidClient(UUID uuid) |
boolean |
GridTcpCommunicationMessageState.putValueBytes(GridCacheValueBytes bytes) |
| Modifier and Type | Method and Description |
|---|---|
protected R |
GridFutureAdapter.get0(long nanosTimeout) |
protected R |
GridFutureAdapterEx.get0(long nanosTimeout) |
GridReducer<T,R> |
GridCompoundFuture.reducer()
Gets optional reducer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCompoundFuture.addAll(GridFuture<T>... futs)
Adds futures to this compound future.
|
void |
GridCompoundFuture.addAll(Iterable<GridFuture<T>> futs)
Adds futures to this compound future.
|
void |
GridFutureAdapter.listenAsync(GridInClosure<? super GridFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridFutureAdapterEx.listenAsync(GridInClosure<? super GridFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
boolean |
GridFutureAdapter.onDone(R res)
Callback to notify that future is finished.
|
boolean |
GridFutureAdapterEx.onDone(R res)
Callback to notify that future is finished.
|
boolean |
GridFutureAdapter.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridFutureAdapter.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridFutureAdapterEx.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridFutureAdapterEx.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridFutureAdapter.onDone(Throwable err)
Callback to notify that future is finished.
|
boolean |
GridFutureAdapterEx.onDone(Throwable err)
Callback to notify that future is finished.
|
void |
GridCompoundFuture.reducer(GridReducer<T,R> rdc)
Sets optional reducer.
|
void |
GridFutureAdapter.stopListenAsync(GridInClosure<? super GridFuture<R>>... lsnr)
Removes given listeners from the future.
|
void |
GridFutureAdapterEx.stopListenAsync(GridInClosure<? super GridFuture<R>>... lsnr)
Removes given listeners from the future.
|
void |
GridFinishedFutureEx.stopListenAsync(GridInClosure<? super GridFuture<T>>... lsnr)
Removes given listeners from the future.
|
void |
GridFinishedFuture.stopListenAsync(GridInClosure<? super GridFuture<T>>... lsnr)
Removes given listeners from the future.
|
| Constructor and Description |
|---|
GridCompoundFuture(GridKernalContext ctx,
GridReducer<T,R> rdc) |
GridCompoundFuture(GridKernalContext ctx,
GridReducer<T,R> rdc,
Iterable<GridFuture<T>> futs) |
GridCompoundFuture(GridKernalContext ctx,
GridReducer<T,R> rdc,
Iterable<GridFuture<T>> futs) |
GridCompoundIdentityFuture(GridKernalContext ctx,
GridReducer<T,T> rdc) |
GridCompoundIdentityFuture(GridKernalContext ctx,
GridReducer<T,T> rdc,
Iterable<GridFuture<T>> futs) |
GridCompoundIdentityFuture(GridKernalContext ctx,
GridReducer<T,T> rdc,
Iterable<GridFuture<T>> futs) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
GridifyUtils.collectionToParameter(Class<?> paramCls,
Collection data)
Converts
Collection back to object applied for method. |
static Collection |
GridifyUtils.parameterToCollection(Object arg)
Converts parameter object to
Collection. |
| Modifier and Type | Method and Description |
|---|---|
String |
GridIpcServerEndpoint.getHost()
Gets host endpoint is bound to.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
GridIpcSharedMemoryInitResponse.error() |
String |
GridIpcSharedMemoryServerEndpoint.getHost()
Gets host endpoint is bound to.
|
String |
GridIpcSharedMemoryInitResponse.inTokenFileName() |
String |
GridIpcSharedMemoryInitResponse.outTokenFileName() |
| Constructor and Description |
|---|
GridIpcOutOfSystemResourcesException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
GridIpcSharedMemoryOperationTimedoutException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> V |
GridFunc.addIfAbsent(ConcurrentMap<K,V> map,
K key,
Callable<V> c)
Gets the value with given key.
|
static <K,V> V |
GridFunc.addIfAbsent(Map<? super K,V> map,
K key,
Callable<? extends V> c)
Utility map getter.
|
static <K,V> V |
GridFunc.addIfAbsent(Map<K,V> map,
K key,
V v)
Utility map getter.
|
<V> V |
GridMetadataAwareAdapter.addMeta(String name,
V val)
Adds a new metadata.
|
<V> V |
GridMetadataAwareAdapter.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
static <T,R> R |
GridFunc.awaitAll(long timeout,
GridReducer<T,R> rdc,
Collection<GridFuture<T>> futs)
Awaits for all futures to complete and optionally reduces all results into one.
|
Object |
GridComputeJobWrapper.call() |
static <V> V |
GridFunc.find(Iterable<? extends V> c,
V dfltVal,
GridPredicate<? super V>... p)
Finds and returns first element in given collection for which any of the
provided predicates evaluates to
true. |
static <V> V |
GridFunc.find(V[] c,
V dfltVal,
GridPredicate<? super V>... p)
Finds and returns first element in given array for which any of the provided
predicates evaluates to
true. |
static <T> T |
GridFunc.first(Iterable<? extends T> c)
Gets first element from given collection or returns
null if the collection is empty. |
static <K,V> Map.Entry<K,V> |
GridFunc.firstEntry(Map<K,V> m)
Gets first key from given map or returns
null if the map is empty. |
static <K> K |
GridFunc.firstKey(Map<K,?> m)
Gets first key from given map or returns
null if the map is empty. |
static <V> V |
GridFunc.firstValue(Map<?,V> m)
Gets first value from given map or returns
null if the map is empty. |
static <D,B> B |
GridFunc.fold(D[] c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given array using provided closure.
|
static <D,B> B |
GridFunc.fold(Iterable<? extends D> c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given collection using provided closure.
|
V |
GridTuple.get()
Gets value.
|
V1 |
GridTuple4.get1()
Gets first value.
|
V1 |
GridTuple3.get1()
Gets first value.
|
V1 |
GridTuple5.get1()
Gets first value.
|
V1 |
GridTuple6.get1()
Gets first value.
|
V2 |
GridTuple4.get2()
Gets second value.
|
V2 |
GridTuple3.get2()
Gets second value.
|
V2 |
GridTuple5.get2()
Gets second value.
|
V2 |
GridTuple6.get2()
Gets second value.
|
V3 |
GridTuple4.get3()
Gets third value.
|
V3 |
GridTuple3.get3()
Gets third value.
|
V3 |
GridTuple5.get3()
Gets third value.
|
V3 |
GridTuple6.get3()
Gets third value.
|
V4 |
GridTuple4.get4()
Gets forth value.
|
V4 |
GridTuple5.get4()
Gets forth value.
|
V4 |
GridTuple6.get4()
Gets forth value.
|
V5 |
GridTuple5.get5()
Gets fifth value.
|
V5 |
GridTuple6.get5()
Gets fifth value.
|
V6 |
GridTuple6.get6()
Gets sizth value.
|
static <T> T |
GridFunc.last(Iterable<? extends T> c)
Gets last element from given collection or returns
null if the collection is empty. |
<V> V |
GridMetadataAwareAdapter.meta(String name)
Gets metadata by name.
|
<V> V |
GridMetadataAwareAdapter.putMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
<V> V |
GridMetadataAwareAdapter.putMetaIfAbsent(String name,
V val)
Adds given metadata value only if it was absent.
|
static <T> T |
GridFunc.randConcurrent(Collection<? extends T> c)
Gets random value from given collection which may be modified concurrently.
|
static <X,Y,R> R |
GridFunc.reduce(Map<? extends X,? extends Y> m,
GridReducer2<? super X,? super Y,R> f)
Reduces given map into single value using given for-all closure.
|
<V> V |
GridMetadataAwareAdapter.removeMeta(String name)
Removes metadata by name.
|
static <K,V> V |
GridFunc.returnIfAbsent(Map<? extends K,? extends V> map,
K key,
Callable<V> c)
Utility map getter.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> V |
GridFunc.addIfAbsent(ConcurrentMap<K,V> map,
K key,
Callable<V> c)
Gets the value with given key.
|
static <K,V> V |
GridFunc.addIfAbsent(Map<? super K,V> map,
K key,
Callable<? extends V> c)
Utility map getter.
|
static <K,V> V |
GridFunc.addIfAbsent(Map<? super K,V> map,
K key,
Callable<? extends V> c)
Utility map getter.
|
static <K,V> V |
GridFunc.addIfAbsent(Map<K,V> map,
K key,
V v)
Utility map getter.
|
static <K,V> V |
GridFunc.addIfAbsent(Map<K,V> map,
K key,
V v)
Utility map getter.
|
<V> V |
GridMetadataAwareAdapter.addMetaIfAbsent(String name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
static <T> GridPredicate<T> |
GridFunc.and(Collection<? extends GridPredicate<? super T>> ps)
Get a predicate that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
GridFunc.and(GridPredicate<? super T>... ps)
Get a predicate that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
GridFunc.and(GridPredicate<? super T>[] p1,
GridPredicate<? super T>... p2)
Get a predicate that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
GridFunc.and(GridPredicate<? super T>[] p1,
GridPredicate<? super T>... p2)
Get a predicate that evaluates to
true if each of its component predicates
evaluates to true. |
static GridAbsClosure |
GridFunc.as(Runnable r)
Converts given runnable to an absolute closure.
|
static <T> List<T> |
GridFunc.asList(T... vals)
Converts array to
List. |
static <T> List<T> |
GridFunc.asList(T t)
Creates read-only list with given values.
|
static <T> Set<T> |
GridFunc.asSet(T... t)
Creates read-only set with given values.
|
static <T> Set<T> |
GridFunc.asSet(T t)
Creates read-only set with given value.
|
static <T> void |
GridFunc.awaitAll(Collection<GridFuture<T>> futs)
Waits until all passed futures will be executed.
|
static <T> void |
GridFunc.awaitAll(GridFuture<T>... futs)
Waits until all passed futures will be executed.
|
static <T> void |
GridFunc.awaitAll(long timeout,
Collection<GridFuture<T>> futs)
Waits until all passed futures will be executed.
|
static <T,R> R |
GridFunc.awaitAll(long timeout,
GridReducer<T,R> rdc,
Collection<GridFuture<T>> futs)
Awaits for all futures to complete and optionally reduces all results into one.
|
static <T,R> R |
GridFunc.awaitAll(long timeout,
GridReducer<T,R> rdc,
Collection<GridFuture<T>> futs)
Awaits for all futures to complete and optionally reduces all results into one.
|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesGet(Collection<? extends Map.Entry<K,V>> entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesGet(Map.Entry<K,V>... entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesPeek(Collection<? extends Map.Entry<K,V>> entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesPeek(Map.Entry<K,V>... entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsGet(Collection<? extends V> vals)
Gets predicate which returns true if
GridCacheEntry.get()
method returns value that is contained in given collection. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsGet(Map<K,V> map)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsGet(V... vals)
Gets predicate which returns true if
GridCacheEntry.get() method returns
value that is contained among given values. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsPeek(Collection<? extends V> vals)
Gets predicate which returns true if
GridCacheEntry.peek() methods returns
value that is contained in given collection. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsPeek(Map<K,V> map)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsPeek(V... vals)
Gets predicate which returns true if
GridCacheEntry.peek() methods returns
value that is contained among given values. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheHasKeys(Collection<? extends K> keys)
Gets predicate which returns
true if entry's key is contained in given collection. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheHasKeys(K... keys)
Gets predicate which returns
true if entry's key is equal to any of provided keys. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheKeys(GridPredicate<? super K>... ps)
Converts key filter to entry filter using
Map.Entry.getKey()
to get value. |
static GridPredicate<GridNode> |
GridFunc.cacheNodesForNames(String... cacheNames)
Gets node predicate which returns
true for all nodes which have given cache names
started. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheValuesGet(GridPredicate<? super V>... ps)
Converts value filter to entry filter using
GridCacheEntry.get() to get value. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheValuesPeek(GridPredicate<? super V>... ps)
Converts value filter to entry filter using
GridCacheEntry.peek()
to get value. |
static GridAbsClosure |
GridFunc.caInvoke(Class<?> cls,
String mtdName,
Object... args)
Creates absolute closure that will reflectively call a static method with the given name.
|
static GridAbsClosure |
GridFunc.caInvoke(Object o,
String mtdName,
Object... args)
Creates absolute closure that will reflectively call a method with the given name on provided object.
|
static <R> GridOutClosure<R> |
GridFunc.coInvoke(Class<?> cls,
String mtdName,
Object... args)
Creates out closure that will reflectively call a static method with the given name
and return result of that call.
|
boolean |
GridReducer2.collect(E1 e1,
E2 e2)
Collects given values.
|
boolean |
GridReducer2.collect(E1 e1,
E2 e2)
Collects given values.
|
boolean |
GridReducer3.collect(E1 e1,
E2 e2,
E3 e3)
Collects given values.
|
boolean |
GridReducer3.collect(E1 e1,
E2 e2,
E3 e3)
Collects given values.
|
boolean |
GridReducer3.collect(E1 e1,
E2 e2,
E3 e3)
Collects given values.
|
static <T> Collection<T> |
GridFunc.concat(boolean cp,
Collection<T> c1,
Collection<T> c2)
Concatenates 2 collections into one.
|
static <T> Collection<T> |
GridFunc.concat(boolean cp,
Collection<T> c1,
Collection<T> c2)
Concatenates 2 collections into one.
|
static <T> Collection<T> |
GridFunc.concat(boolean cp,
T t,
Collection<T> c)
Concatenates an element to a collection.
|
static <T> Collection<T> |
GridFunc.concat(boolean cp,
T t,
Collection<T> c)
Concatenates an element to a collection.
|
static String |
GridFunc.concat(Iterable<String> c,
String delim)
Concatenates strings using provided delimiter.
|
static <T> T[] |
GridFunc.concat(T[] arr,
T... obj)
Concatenates an elements to an array.
|
static GridReducer<String,String> |
GridFunc.concatReducer(String delim)
Gets reducer closure that concatenates strings using provided delimiter.
|
static <R> GridOutClosure<R> |
GridFunc.constant(R val)
Gets closure that returns constant value.
|
static <T1,R> GridClosure<T1,R> |
GridFunc.constant1(R val)
Gets closure that returns constant value.
|
static <T1,T2,R> GridBiClosure<T1,T2,R> |
GridFunc.constant2(R val)
Gets closure that returns constant value.
|
static <T1,T2,T3,R> |
GridFunc.constant3(R val)
Gets closure that returns constant value.
|
static <T> GridPredicate<T> |
GridFunc.contains(Collection<T> c)
Provides predicate which returns
true if it receives an element
that is contained in the passed in collection. |
static <T> boolean |
GridFunc.contains(Collection<T> c,
T t)
Checks if value is contained in the collection passed in.
|
static <T> boolean |
GridFunc.contains(Collection<T> c,
T t)
Checks if value is contained in the collection passed in.
|
static <T> boolean |
GridFunc.containsAll(Collection<? extends T> c1,
Iterable<? extends T> c2)
Checks if collection
c1 contains all elements from collection c2. |
static <T> boolean |
GridFunc.containsAll(Collection<? extends T> c1,
Iterable<? extends T> c2)
Checks if collection
c1 contains all elements from collection c2. |
static <T> boolean |
GridFunc.containsAny(Collection<? extends T> c1,
Iterable<? extends T> c2)
Checks if collection
c1 contains any elements from collection c2. |
static <T> boolean |
GridFunc.containsAny(Collection<? extends T> c1,
Iterable<? extends T> c2)
Checks if collection
c1 contains any elements from collection c2. |
static <T> boolean |
GridFunc.containsAny(Collection<? extends T> c1,
T... c2)
Checks if collection
c1 contains any elements from array c2. |
static <T> boolean |
GridFunc.containsAny(Collection<? extends T> c1,
T... c2)
Checks if collection
c1 contains any elements from array c2. |
static <T> Collection<T> |
GridFunc.copy(Collection<T> to,
Iterable<? extends T> from,
GridPredicate<? super T>... p)
Adds (copies) to given collection using provided predicates.
|
static <T> Iterable<T> |
GridFunc.drop(Iterable<T> c,
GridPredicate<? super T>... p)
Removes elements in-place from given collection.
|
static boolean |
GridFunc.eq(Object o1,
Object o2)
Tests whether specified arguments are equal, or both
null. |
static boolean |
GridFunc.eq(Object o1,
Object o2)
Tests whether specified arguments are equal, or both
null. |
static boolean |
GridFunc.eqNotOrdered(Collection<?> c1,
Collection<?> c2)
Checks if both collections have equal elements in any order.
|
static boolean |
GridFunc.eqNotOrdered(Collection<?> c1,
Collection<?> c2)
Checks if both collections have equal elements in any order.
|
static boolean |
GridFunc.eqOrdered(Collection<?> c1,
Collection<?> c2)
Checks if both collections have equal elements in the same order.
|
static boolean |
GridFunc.eqOrdered(Collection<?> c1,
Collection<?> c2)
Checks if both collections have equal elements in the same order.
|
static <T> GridPredicate<T> |
GridFunc.equalTo(T target)
Gets predicate that evaluates to
true if its free variable is equal
to target or both are null. |
static GridPredicate<GridEvent> |
GridFunc.eventId(GridUuid... ids)
Gets event predicate that returns
true only if event id is one of the given. |
static GridPredicate<GridEvent> |
GridFunc.eventNode(Collection<? extends GridNode> nodes)
Gets event predicate that returns
true only if node that produced the event
is one of the given. |
static GridPredicate<GridEvent> |
GridFunc.eventNode(String gridName,
GridPredicate<GridNode>... p)
Gets event predicate that returns
true only if node that produced the event
satisfies all given predicates. |
static GridPredicate<GridEvent> |
GridFunc.eventNode(String gridName,
GridPredicate<GridNode>... p)
Gets event predicate that returns
true only if node that produced the event
satisfies all given predicates. |
static GridPredicate<GridEvent> |
GridFunc.eventNodeId(UUID... nodeIds)
Gets event predicate that returns
true only if event was produced on one of
given nodes (specified by ids). |
static GridPredicate<GridEvent> |
GridFunc.eventType(int... types)
Gets event predicate that returns
true only if event type is one of the given. |
static <V> boolean |
GridFunc.exist(Iterable<? extends V> c,
GridPredicate<? super V>... p)
Checks for existence of the element in input collection for which all provided predicates
evaluate to
true. |
static <K1,K extends K1,V1,V extends V1> |
GridFunc.exist(Map<K,V> m,
GridPredicate<? super Map.Entry<K,V>>... p)
Checks for existence of the entry in input map for which all provided predicates
evaluate to
true. |
static <V> boolean |
GridFunc.exist(V[] c,
GridPredicate<? super V>... p)
Checks for existence of the element in input array for which all provided predicates
evaluate to
true. |
static <T> List<T> |
GridFunc.filterList(List<T> c,
boolean cp,
GridPredicate<T>... p)
Loses all elements in input list for which any of the predicates evaluate to
true. |
static <V> V |
GridFunc.find(Iterable<? extends V> c,
V dfltVal,
GridPredicate<? super V>... p)
Finds and returns first element in given collection for which any of the
provided predicates evaluates to
true. |
static <V> V |
GridFunc.find(Iterable<? extends V> c,
V dfltVal,
GridPredicate<? super V>... p)
Finds and returns first element in given collection for which any of the
provided predicates evaluates to
true. |
static <V,Y> Y |
GridFunc.find(Iterable<? extends V> c,
Y dfltVal,
GridClosure<? super V,Y> f,
GridPredicate<? super V>... p)
Finds, transforms and returns first element in given collection for which any of
the provided predicates evaluates to
true. |
static <V,Y> Y |
GridFunc.find(Iterable<? extends V> c,
Y dfltVal,
GridClosure<? super V,Y> f,
GridPredicate<? super V>... p)
Finds, transforms and returns first element in given collection for which any of
the provided predicates evaluates to
true. |
static <V> V |
GridFunc.find(V[] c,
V dfltVal,
GridPredicate<? super V>... p)
Finds and returns first element in given array for which any of the provided
predicates evaluates to
true. |
static <V> V |
GridFunc.find(V[] c,
V dfltVal,
GridPredicate<? super V>... p)
Finds and returns first element in given array for which any of the provided
predicates evaluates to
true. |
static <V,Y> Y |
GridFunc.find(V[] c,
Y dfltVal,
GridClosure<? super V,Y> f,
GridPredicate<? super V>... p)
Finds, transforms and returns first element in given array for which any of the
provided predicates evaluates to
true. |
static <V,Y> Y |
GridFunc.find(V[] c,
Y dfltVal,
GridClosure<? super V,Y> f,
GridPredicate<? super V>... p)
Finds, transforms and returns first element in given array for which any of the
provided predicates evaluates to
true. |
static <T> T |
GridFunc.first(Iterable<? extends T> c)
Gets first element from given collection or returns
null if the collection is empty. |
static <T> GridIterator<T> |
GridFunc.flat(Iterable<? extends Iterable<T>> c)
Flattens iterable-of-iterables and returns iterable over the
elements of the inner collections.
|
static Collection<Object> |
GridFunc.flat0(Object... objs)
Flattens given set objects into a single collection.
|
static <T> Collection<T> |
GridFunc.flatCollections(Collection<? extends Collection<T>> c)
Flattens collection-of-collections and returns collection over the
elements of the inner collections.
|
static <D,B> B |
GridFunc.fold(D[] c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given array using provided closure.
|
static <D,B> B |
GridFunc.fold(D[] c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given array using provided closure.
|
static <D,B> B |
GridFunc.fold(Iterable<? extends D> c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given collection using provided closure.
|
static <D,B> B |
GridFunc.fold(Iterable<? extends D> c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given collection using provided closure.
|
static <V> boolean |
GridFunc.forAll(Iterable<? extends V> c,
GridPredicate<? super V>... p)
Applies all given predicates to all elements in given input collection and returns
true if all of them evaluate to true for all elements. |
static <K1,K extends K1,V1,V extends V1> |
GridFunc.forAll(Map<K,V> m,
GridPredicate<? super Map.Entry<K,V>>... p)
Applies given predicates to all entries in given input map and returns
true
if all of them evaluates to true for all entries. |
static <V> boolean |
GridFunc.forAll(V[] c,
GridPredicate<? super V>... p)
Applies all given predicates to all elements in given input array and returns
true
if all of them evaluate to true for all elements. |
static <V> boolean |
GridFunc.forAny(Iterable<? extends V> c,
GridPredicate<? super V>... p)
Applies all given predicates to all elements in given input collection and returns
true if all predicates evaluate to true for at least one element. |
static <K1,K extends K1,V1,V extends V1> |
GridFunc.forAny(Map<K,V> m,
GridPredicate<? super Map.Entry<K,V>>... p)
Applies given predicates to all entries in given input map and returns
true
if all of them evaluates to true for at least one entry. |
static <V> boolean |
GridFunc.forAny(V[] c,
GridPredicate<? super V>... p)
Applies all given predicates to all elements in given input array and returns
true
if all of them evaluate to true for at least one element. |
static <X> void |
GridFunc.forEach(Iterable<? extends X> c,
GridInClosure<? super X> f,
GridPredicate<? super X>... p)
Calls given
side-effect only closure over the each element of the provided
collection. |
static <K,V> void |
GridFunc.forEach(Map<? extends K,? extends V> m,
GridInClosure<? super GridBiTuple<K,V>> f,
GridPredicate<? super GridBiTuple<K,V>>... p)
Calls given
side-effect only closure (if provided) over the each element of the
provided map. |
static <X> void |
GridFunc.forEach(X[] c,
GridInClosure<? super X> f,
GridPredicate<? super X>... p)
Calls given
side-effect only closure over the each element of the provided array. |
static <K,V> GridClosure<K,V> |
GridFunc.forMap(Map<? extends K,? extends V> m,
Callable<V> c)
Gets closure that wraps given map's access, i.e.
|
static Collection<String> |
GridFunc.id8s(Collection<UUID> ids)
Convenient utility method that returns collection of node ID8s for a given
collection of node IDs.
|
static GridPredicate<UUID> |
GridFunc.idForNodeIds(Collection<UUID> nodeIds)
Creates
UUID predicate evaluating on the given node IDs. |
static GridPredicate<UUID> |
GridFunc.idForNodeIds(UUID... nodeIds)
Creates
UUID predicate evaluating on the given node IDs. |
static <T> GridPredicate<T> |
GridFunc.in(Collection<? extends T> c)
Gets predicate that returns
true if its free variable is contained
in given collection. |
static <T> GridPredicate<T> |
GridFunc.in(T[] c)
Gets predicate that returns
true if its free variable is contained
in given array. |
static <T> boolean |
GridFunc.isAll(T t,
GridPredicate<? super T>... p)
Tests if all provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAll(T t,
GridPredicate<? super T>... p)
Tests if all provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAll(T t,
Iterable<? extends GridPredicate<? super T>> p)
Tests if all provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAll(T t,
Iterable<? extends GridPredicate<? super T>> p)
Tests if all provided predicates evaluate to
true for given value. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
GridBiPredicate<? super A,? super B> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
GridBiPredicate<? super A,? super B> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
GridBiPredicate<? super A,? super B> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
GridBiPredicate<? super A,? super B>[] p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
GridBiPredicate<? super A,? super B>[] p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
GridBiPredicate<? super A,? super B>[] p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
Iterable<? extends GridBiPredicate<? super A,? super B>> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
Iterable<? extends GridBiPredicate<? super A,? super B>> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
Iterable<? extends GridBiPredicate<? super A,? super B>> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAll3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if all provided predicates evaluate to
true for given values. |
static boolean |
GridFunc.isAlwaysFalse(GridPredicate[] p)
Tests whether or not given set of predicates consists only of one predicate returned from
GridFunc.alwaysFalse() method. |
static boolean |
GridFunc.isAlwaysTrue(GridPredicate[] p)
Tests whether or not given set of predicates consists only of one predicate returned from
GridFunc.alwaysTrue() method. |
static <T> boolean |
GridFunc.isAny(T t,
GridPredicate<? super T>... p)
Tests if any of provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAny(T t,
GridPredicate<? super T>... p)
Tests if any of provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAny(T t,
Iterable<? extends GridPredicate<? super T>> p)
Tests if any of provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAny(T t,
Iterable<? extends GridPredicate<? super T>> p)
Tests if any of provided predicates evaluate to
true for given value. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
GridBiPredicate<? super A,? super B>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
GridBiPredicate<? super A,? super B>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
GridBiPredicate<? super A,? super B>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
Iterable<? extends GridBiPredicate<? super A,? super B>> p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
Iterable<? extends GridBiPredicate<? super A,? super B>> p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
Iterable<? extends GridBiPredicate<? super A,? super B>> p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
GridPredicate3<? super A,? super B,? super C>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if any of provided predicates evaluate to
true for given values. |
static <A,B,C> boolean |
GridFunc.isAny3(A a,
B b,
C c,
Iterable<? extends GridPredicate3<? super A,? super B,? super C>> p)
Tests if any of provided predicates evaluate to
true for given values. |
static boolean |
GridFunc.isEmpty(byte[] c)
Tests if the given array is either
null or empty. |
static boolean |
GridFunc.isEmpty(Collection<?> c)
Tests if the given collection is either
null or empty. |
static boolean |
GridFunc.isEmpty(int[] c)
Tests if the given array is either
null or empty. |
static boolean |
GridFunc.isEmpty(Iterable<?> c)
Tests if the given collection is either
null or empty. |
static boolean |
GridFunc.isEmpty(long[] c)
Tests if the given array is either
null or empty. |
static boolean |
GridFunc.isEmpty(Map<?,?> m)
Tests if the given map is either
null or empty. |
static boolean |
GridFunc.isEmpty(String s)
Tests if given string is
null or empty. |
static <T> boolean |
GridFunc.isEmpty(T[] c)
Tests if the given array is either
null or empty. |
static <T> boolean |
GridFunc.isEmptyOrNulls(T[] c)
Tests if the given array is
null, empty or contains only null values. |
static <T1,T2> GridIterator<T2> |
GridFunc.iterator(Iterable<? extends T1> c,
GridClosure<? super T1,T2> trans,
boolean readOnly,
GridPredicate<? super T1>... p)
Creates and returns transforming iterator from given collection and optional
filtering predicates.
|
static <T> Collection<T> |
GridFunc.jobResults(Collection<? extends GridComputeJobResult> res)
Gets collections of data items from grid job res casted to specified type.
|
static <T> T |
GridFunc.last(Iterable<? extends T> c)
Gets last element from given collection or returns
null if the collection is empty. |
static <T0,T extends T0> |
GridFunc.lose(Collection<T> c,
boolean cp,
Collection<T0> filter)
Loses all elements in input collection that are contained in
filter collection. |
static <T> Collection<T> |
GridFunc.lose(Collection<T> c,
boolean cp,
GridPredicate<? super T>... p)
Loses all elements in input collection that are evaluated to
true by
all given predicates. |
static <K,V> Map<K,V> |
GridFunc.lose(Map<K,V> m,
boolean cp,
GridPredicate<? super Map.Entry<K,V>>... p)
Loses all entries in input map that are evaluated to
true by all given predicates. |
static <K,V> Map<K,V> |
GridFunc.loseKeys(Map<K,V> m,
boolean cp,
GridPredicate<? super K>... p)
Loses all entries in input map which keys are evaluated to
true by all
given predicates. |
static <T> List<T> |
GridFunc.loseList(List<T> c,
boolean cp,
Collection<? super T> filter)
Loses all elements in input list that are contained in
filter collection. |
static <T> Set<T> |
GridFunc.loseSet(Set<T> c,
boolean cp,
Collection<? super T> filter)
Loses all elements in input set that are contained in
filter collection. |
static <K,V> Map<K,V> |
GridFunc.loseValues(Map<K,V> m,
boolean cp,
GridPredicate<? super V>... p)
Loses all entries in input map which values are evaluated to
true by all
given predicates. |
static <K,V> GridPredicate<Map.Entry<K,V>> |
GridFunc.mapKey(K key)
Gets utility predicate that accepts
Map.Entry value and compares its key
to the given value. |
static <K,V> GridPredicate<Map.Entry<K,V>> |
GridFunc.mapValue(V val)
Gets utility predicate that accepts
Map.Entry value and compares
its value to the given value. |
static <T extends GridMetadataAware> |
GridFunc.meta(Iterable<String> names)
Creates predicate that accepts subclass of
GridMetadataAware interface and
evaluates to true if it contains given metadata names (values are ignored). |
static <T extends GridMetadataAware> |
GridFunc.meta(Map<String,?> meta)
Creates predicate that accepts subclass of
GridMetadataAware interface
and evaluates to true if it contains all provided metadata. |
static <T extends GridMetadataAware> |
GridFunc.meta(String... names)
Creates predicate that accepts subclass of
GridMetadataAware interface
and evaluates to true if it contains given metadata names (values are ignored). |
static <T extends GridMetadataAware> |
GridFunc.metaEntry(Collection<? extends Map.Entry<String,?>> meta)
Creates predicate that accepts subclass of
GridMetadataAware interface
and evaluates to true if it contains all provided metadata. |
static <T extends GridMetadataAware> |
GridFunc.metaEntry(Map.Entry<String,?>... meta)
Creates predicate that accepts subclass of
GridMetadataAware
interface and evaluates to true if it contains all provided metadata. |
static <T extends GridNode> |
GridFunc.nodeForNodeIds(Collection<UUID> nodeIds)
Creates grid node predicate evaluating on the given node IDs.
|
static <T extends GridNode> |
GridFunc.nodeForNodeIds(UUID... nodeIds)
Creates grid node predicate evaluating on the given node IDs.
|
static GridPredicate<GridNode> |
GridFunc.nodeForNodes(Collection<? extends GridNode> nodes)
Creates predicates that evaluates to
true for each node in given collection. |
static Collection<String> |
GridFunc.nodeId8s(Collection<? extends GridNode> nodes)
Convenient utility method that returns collection of node ID8s for a given
collection of grid nodes.
|
static Collection<UUID> |
GridFunc.nodeIds(Collection<? extends GridNode> nodes)
Convenient utility method that returns collection of node IDs for a given
collection of grid nodes.
|
static <T> GridPredicate<T> |
GridFunc.not(GridPredicate<? super T>... p)
Negates given predicates.
|
static <T> GridPredicate<T> |
GridFunc.notContains(Collection<T> c)
Provides predicate which returns
true if it receives an element
that is not contained in the passed in collection. |
static <T> GridPredicate<T> |
GridFunc.notEqualTo(T target)
Gets predicate that evaluates to
true if its free variable is not equal
to target or both are null. |
static <T> GridPredicate<T> |
GridFunc.notIn(Collection<? extends T> c)
Gets predicate that returns
true if its free variable is not
contained in given collection. |
static <T> GridPredicate<T> |
GridFunc.notIn(T[] c)
Gets predicate that returns
true if its free variable is not
contained in given array. |
static <T> GridPredicate<T> |
GridFunc.or(Collection<? extends GridPredicate<? super T>> ps)
Get a predicate that evaluates to
true if any of its component
predicates evaluates to true. |
static <T> GridPredicate<T> |
GridFunc.or(GridPredicate<? super T>... ps)
Get a predicate that evaluates to
true if any of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
GridFunc.or(GridPredicate<? super T>[] p1,
GridPredicate<? super T>... p2)
Get a predicate that evaluates to
true if any of its component predicates
evaluates to true. |
static <T> GridPredicate<T> |
GridFunc.or(GridPredicate<? super T>[] p1,
GridPredicate<? super T>... p2)
Get a predicate that evaluates to
true if any of its component predicates
evaluates to true. |
static <T> GridPair<T> |
GridFunc.pair(T t1,
T t2)
Creates pair out of given two objects.
|
static <T> GridPair<T> |
GridFunc.pair(T t1,
T t2)
Creates pair out of given two objects.
|
static <T> GridInClosure<T> |
GridFunc.print(String pre,
String post)
Gets closure that prints out its bound variable.
|
static <T> GridInClosure<T> |
GridFunc.print(String pre,
String post)
Gets closure that prints out its bound variable.
|
static <T> GridInClosure<T> |
GridFunc.println(String pre,
String post)
Gets closure that prints out its bound variable.
|
static <T> GridInClosure<T> |
GridFunc.println(String pre,
String post)
Gets closure that prints out its bound variable.
|
static <T0,T extends T0> |
GridFunc.retain(Collection<T> c,
boolean cp,
Collection<? extends T0> filter)
Retains all elements in input collection that are contained in
filter. |
static <T> Collection<T> |
GridFunc.retain(Collection<T> c,
boolean cp,
GridPredicate<? super T>... p)
Retains all elements in input collection that are evaluated to
true
by all given predicates. |
static <K,V> Map<K,V> |
GridFunc.retain(Map<K,V> m,
boolean cp,
GridPredicate<? super Map.Entry<K,V>>... p)
For a given map retains all map entries that satisfy all provided predicates.
|
static <K,V> Map<K,V> |
GridFunc.retainKeys(Map<K,V> m,
boolean cp,
GridPredicate<? super K>... p)
For a given map retains all map entries which keys satisfy all provided predicates.
|
static <K,V> Map<K,V> |
GridFunc.retainValues(Map<K,V> m,
boolean cp,
GridPredicate<? super V>... p)
For a given map retains all map entries which values satisfy all provided predicates.
|
static <K,V> V |
GridFunc.returnIfAbsent(Map<? extends K,? extends V> map,
K key,
Callable<V> c)
Utility map getter.
|
static <K,V> V |
GridFunc.returnIfAbsent(Map<? extends K,? extends V> map,
K key,
Callable<V> c)
Utility map getter.
|
void |
GridTuple.set(V val)
Sets value.
|
void |
GridTuple3.set(V1 val1,
V2 val2,
V3 val3)
Sets all values.
|
void |
GridTuple3.set(V1 val1,
V2 val2,
V3 val3)
Sets all values.
|
void |
GridTuple3.set(V1 val1,
V2 val2,
V3 val3)
Sets all values.
|
void |
GridTuple4.set(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Sets all values.
|
void |
GridTuple4.set(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Sets all values.
|
void |
GridTuple4.set(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Sets all values.
|
void |
GridTuple4.set(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Sets all values.
|
void |
GridTuple5.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5)
Sets all values.
|
void |
GridTuple5.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5)
Sets all values.
|
void |
GridTuple5.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5)
Sets all values.
|
void |
GridTuple5.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5)
Sets all values.
|
void |
GridTuple5.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5)
Sets all values.
|
void |
GridTuple6.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5,
V6 val6)
Sets all values.
|
void |
GridTuple6.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5,
V6 val6)
Sets all values.
|
void |
GridTuple6.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5,
V6 val6)
Sets all values.
|
void |
GridTuple6.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5,
V6 val6)
Sets all values.
|
void |
GridTuple6.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5,
V6 val6)
Sets all values.
|
void |
GridTuple6.set(V1 val1,
V2 val2,
V3 val3,
V4 val4,
V5 val5,
V6 val6)
Sets all values.
|
void |
GridTuple4.set1(V1 val1)
Sets first value.
|
void |
GridTuple3.set1(V1 val1)
Sets first value.
|
void |
GridTuple5.set1(V1 v1)
Sets first value.
|
void |
GridTuple6.set1(V1 v1)
Sets first value.
|
void |
GridTuple4.set2(V2 val2)
Sets second value.
|
void |
GridTuple3.set2(V2 val2)
Sets second value.
|
void |
GridTuple5.set2(V2 v2)
Sets second value.
|
void |
GridTuple6.set2(V2 v2)
Sets second value.
|
void |
GridTuple4.set3(V3 val3)
Sets third value.
|
void |
GridTuple3.set3(V3 val3)
Sets third value.
|
void |
GridTuple5.set3(V3 v3)
Sets third value.
|
void |
GridTuple6.set3(V3 v3)
Sets third value.
|
void |
GridTuple4.set4(V4 val4)
Sets fourth value.
|
void |
GridTuple5.set4(V4 v4)
Sets forth value.
|
void |
GridTuple6.set4(V4 v4)
Sets forth value.
|
void |
GridTuple5.set5(V5 v5)
Sets fifth value.
|
void |
GridTuple6.set5(V5 v5)
Sets fifth value.
|
void |
GridTuple6.set6(V6 v6)
Sets sixth value.
|
static <T> int |
GridFunc.size(Collection<? extends T> c,
GridPredicate<? super T>... p)
Gets size of the given collection with provided optional predicates.
|
static <T> int |
GridFunc.size(Collection<? extends T> c,
GridPredicate<? super T>... p)
Gets size of the given collection with provided optional predicates.
|
static <T> int |
GridFunc.size(Iterator<? extends T> it,
GridPredicate<? super T>... p)
Gets size of the given iterator with provided optional predicates.
|
static <T> int |
GridFunc.size(Iterator<? extends T> it,
GridPredicate<? super T>... p)
Gets size of the given iterator with provided optional predicates.
|
static <T> int |
GridFunc.size(T[] c,
GridPredicate<? super T>... p)
Gets size of the given array with provided optional predicates.
|
static <T0,T extends T0> |
GridFunc.split(Collection<T> c,
GridPredicate<? super T>... p)
Splits given collection in two using provided set of predicates.
|
static <T0,T extends T0> |
GridFunc.split(Collection<T> c,
GridPredicate<? super T>... p)
Splits given collection in two using provided set of predicates.
|
static <V> GridTuple<V> |
GridFunc.t(V v)
Factory method returning new tuple with given parameter.
|
static <V1,V2> GridBiTuple<V1,V2> |
GridFunc.t(V1 v1,
V2 v2)
Factory method returning new tuple with given parameters.
|
static <V1,V2> GridBiTuple<V1,V2> |
GridFunc.t(V1 v1,
V2 v2)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3> GridTuple3<V1,V2,V3> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3> GridTuple3<V1,V2,V3> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3> GridTuple3<V1,V2,V3> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5,V6> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5,V6> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5,V6> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5,V6> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5,V6> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Factory method returning new tuple with given parameters.
|
static <V1,V2,V3,V4,V5,V6> |
GridFunc.t(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Factory method returning new tuple with given parameters.
|
static <X,Y> Collection<Y> |
GridFunc.transform(Collection<Y> to,
Iterable<? extends X> from,
GridClosure<? super X,Y> f,
GridPredicate<? super X>... p)
Transforms one collection to another using provided closure and predicate.
|
static <T1,T2> List<T2> |
GridFunc.transformList(Collection<? extends T1> c,
GridClosure<? super T1,T2> trans,
GridPredicate<? super T1>... p)
Creates a view on given list with provided transformer and predicates.
|
static <T1,T2> Set<T2> |
GridFunc.transformSet(Collection<? extends T1> c,
GridClosure<? super T1,T2> trans,
GridPredicate<? super T1>... p)
Creates a view on given set with provided transformer and predicates.
|
static <T> GridTriple<T> |
GridFunc.triple(T t1,
T t2,
T t3)
Creates triple out of given three objects.
|
static <T> GridTriple<T> |
GridFunc.triple(T t1,
T t2,
T t3)
Creates triple out of given three objects.
|
static <T> GridTriple<T> |
GridFunc.triple(T t1,
T t2,
T t3)
Creates triple out of given three objects.
|
static <T> Collection<T> |
GridFunc.view(Collection<T> c,
GridPredicate<? super T>... p)
Creates write-through light-weight view on given collection with provided predicates.
|
static <T> Collection<T> |
GridFunc.view(Collection<T> c,
GridPredicate<? super T>... p)
Creates write-through light-weight view on given collection with provided predicates.
|
static <K0,K extends K0,V0,V extends V0> |
GridFunc.view(Map<K,V> m,
GridPredicate<? super K>... p)
Creates light-weight view on given map with provided predicates.
|
static <K0,K extends K0,V0,V extends V0> |
GridFunc.view(Map<K,V> m,
GridPredicate<? super K>... p)
Creates light-weight view on given map with provided predicates.
|
static <K0,K extends K0,V0,V extends V0> |
GridFunc.viewAsMap(Set<K> c,
GridClosure<? super K,V> mapClo,
GridPredicate<? super K>... p)
Read-only map view of a collection.
|
static <K0,K extends K0,V0,V extends V0> |
GridFunc.viewAsMap(Set<K> c,
GridClosure<? super K,V> mapClo,
GridPredicate<? super K>... p)
Read-only map view of a collection.
|
static <T1,T2> List<T2> |
GridFunc.viewListReadOnly(List<? extends T1> c,
GridClosure<? super T1,T2> trans)
Creates read-only light-weight view on given list with provided transformation.
|
static <T1,T2> Collection<T2> |
GridFunc.viewReadOnly(Collection<? extends T1> c,
GridClosure<? super T1,T2> trans,
GridPredicate<? super T1>... p)
Creates read-only light-weight view on given collection with transformation and provided
predicates.
|
static <T1,T2> Collection<T2> |
GridFunc.viewReadOnly(Collection<? extends T1> c,
GridClosure<? super T1,T2> trans,
GridPredicate<? super T1>... p)
Creates read-only light-weight view on given collection with transformation and provided
predicates.
|
static <K0,K extends K0,V0,V extends V0,V1> |
GridFunc.viewReadOnly(Map<K,V> m,
GridBiClosure<K,V,V1> trans,
GridPredicate<? super K>... p)
Read-only view on map that supports transformation of values and key filtering.
|
static <K0,K extends K0,V0,V extends V0,V1> |
GridFunc.viewReadOnly(Map<K,V> m,
GridBiClosure<K,V,V1> trans,
GridPredicate<? super K>... p)
Read-only view on map that supports transformation of values and key filtering.
|
static <K0,K extends K0,V0,V extends V0,V1> |
GridFunc.viewReadOnly(Map<K,V> m,
GridClosure<V,V1> trans,
GridPredicate<? super K>... p)
Read-only view on map that supports transformation of values and key filtering.
|
static <K0,K extends K0,V0,V extends V0,V1> |
GridFunc.viewReadOnly(Map<K,V> m,
GridClosure<V,V1> trans,
GridPredicate<? super K>... p)
Read-only view on map that supports transformation of values and key filtering.
|
| Constructor and Description |
|---|
GridNodePredicate(Collection<UUID> ids)
Creates node predicate that evaluates to
true for all
provided node IDs. |
GridNodePredicate(GridNode... nodes)
Creates node predicate that evaluates to
true for all
provided nodes. |
GridNodePredicate(UUID... ids)
Creates node predicate that evaluates to
true for all
provided node IDs. |
GridPair(T t1,
T t2)
Creates pair with given objects.
|
GridPair(T t1,
T t2)
Creates pair with given objects.
|
GridTriple(T t1,
T t2,
T t3)
Creates triple with given objects.
|
GridTriple(T t1,
T t2,
T t3)
Creates triple with given objects.
|
GridTriple(T t1,
T t2,
T t3)
Creates triple with given objects.
|
GridTuple(V val)
Constructs mutable object with given value.
|
GridTuple3(V1 val1,
V2 val2,
V3 val3)
Fully initializes this tuple.
|
GridTuple3(V1 val1,
V2 val2,
V3 val3)
Fully initializes this tuple.
|
GridTuple3(V1 val1,
V2 val2,
V3 val3)
Fully initializes this tuple.
|
GridTuple4(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Fully initializes this tuple.
|
GridTuple4(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Fully initializes this tuple.
|
GridTuple4(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Fully initializes this tuple.
|
GridTuple4(V1 val1,
V2 val2,
V3 val3,
V4 val4)
Fully initializes this tuple.
|
GridTuple5(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Fully initializes this tuple.
|
GridTuple5(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Fully initializes this tuple.
|
GridTuple5(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Fully initializes this tuple.
|
GridTuple5(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Fully initializes this tuple.
|
GridTuple5(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5)
Fully initializes this tuple.
|
GridTuple6(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Fully initializes this tuple.
|
GridTuple6(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Fully initializes this tuple.
|
GridTuple6(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Fully initializes this tuple.
|
GridTuple6(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Fully initializes this tuple.
|
GridTuple6(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Fully initializes this tuple.
|
GridTuple6(V1 v1,
V2 v2,
V3 v3,
V4 v4,
V5 v5,
V6 v6)
Fully initializes this tuple.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridNioSession.addMeta(int key,
T val)
Adds metadata associated with specified key.
|
Object |
GridDirectParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
Object |
GridNioParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
protected R |
GridNioFutureImpl.get0(long nanosTimeout) |
InetSocketAddress |
GridNioSessionImpl.localAddress()
Gets local address of this session.
|
InetSocketAddress |
GridNioSession.localAddress()
Gets local address of this session.
|
<T> T |
GridNioSession.meta(int key)
Gets metadata associated with specified key.
|
byte[] |
GridNioServerBuffer.read(ByteBuffer buf) |
InetSocketAddress |
GridNioSessionImpl.remoteAddress()
Gets address of remote peer on this session.
|
InetSocketAddress |
GridNioSession.remoteAddress()
Gets address of remote peer on this session.
|
<T> T |
GridNioSession.removeMeta(int key)
Removes metadata with the specified key.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridNioSessionImpl.addMeta(int key,
T val)
Adds metadata associated with specified key.
|
<T> T |
GridNioSession.addMeta(int key,
T val)
Adds metadata associated with specified key.
|
GridNioFuture<GridNioSession> |
GridNioServer.createSession(SocketChannel ch,
Map<Integer,?> meta)
Establishes a session.
|
GridNioServer.Builder<T> |
GridNioServer.Builder.gridName(String gridName) |
void |
GridNioFuture.listenAsync(GridInClosure<? super GridNioFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridNioFinishedFuture.listenAsync(GridInClosure<? super GridNioFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridNioFutureImpl.listenAsync(GridInClosure<? super GridNioFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridNioServerListener.onDisconnected(GridNioSession ses,
Exception e)
This method is called whenever client is disconnected due to correct connection close
or due to
IOException during network operations. |
void |
GridNioEmbeddedFuture.onDone(GridNioFuture<R> delegate,
Throwable err)
Callback to notify that future is finished.
|
void |
GridNioEmbeddedFuture.onDone(GridNioFuture<R> delegate,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridNioFutureImpl.onDone(R res)
Callback to notify that future is finished.
|
boolean |
GridNioFutureImpl.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridNioFutureImpl.onDone(R res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridNioFutureImpl.onDone(Throwable err)
Callback to notify that future is finished.
|
boolean |
GridNioMessageReader.read(UUID nodeId,
GridTcpCommunicationMessageAdapter msg,
ByteBuffer buf) |
void |
GridCommunicationClient.sendMessage(UUID nodeId,
GridTcpCommunicationMessageAdapter msg) |
void |
GridTcpNioCommunicationClient.sendMessage(UUID nodeId,
GridTcpCommunicationMessageAdapter msg) |
void |
GridShmemCommunicationClient.sendMessage(UUID nodeId,
GridTcpCommunicationMessageAdapter msg) |
void |
GridTcpCommunicationClient.sendMessage(UUID nodeId,
GridTcpCommunicationMessageAdapter msg) |
boolean |
GridNioMessageWriter.write(UUID nodeId,
GridTcpCommunicationMessageAdapter msg,
ByteBuffer buf) |
int |
GridNioMessageWriter.writeFully(UUID nodeId,
GridTcpCommunicationMessageAdapter msg,
OutputStream out,
ByteBuffer buf) |
| Constructor and Description |
|---|
GridAbstractCommunicationClient(GridNioMetricsListener metricsLsnr) |
GridNioException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
GridNioFinishedFuture(Throwable err)
Constructs a future which
GridNioFinishedFuture.get() method will throw given exception. |
GridNioSessionImpl(GridNioFilterChain filterChain,
InetSocketAddress locAddr,
InetSocketAddress rmtAddr,
boolean accepted) |
GridNioSessionImpl(GridNioFilterChain filterChain,
InetSocketAddress locAddr,
InetSocketAddress rmtAddr,
boolean accepted) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Collection<GridRemoteStartSpecification>> |
GridNodeStartUtils.specifications(Collection<Map<String,Object>> hosts,
Map<String,Object> dflts)
Makes specifications.
|
| Constructor and Description |
|---|
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
static GridOffHeapEvent |
GridOffHeapEvent.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
byte[] |
GridOffHeapMap.get(int hash,
byte[] keyBytes)
Gets value bytes for given key.
|
byte[] |
GridOffHeapPartitionedMap.get(int p,
int hash,
byte[] keyBytes)
Gets value bytes for given key.
|
byte[] |
GridOffHeapMap.remove(int hash,
byte[] keyBytes)
Removes value from off-heap map.
|
byte[] |
GridOffHeapPartitionedMap.remove(int p,
int hash,
byte[] keyBytes)
Removes value from off-heap map.
|
| Modifier and Type | Method and Description |
|---|---|
static <K> GridOffHeapMap<K> |
GridOffHeapMapFactory.unsafeMap(int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static <K> GridOffHeapMap<K> |
GridOffHeapMapFactory.unsafeMap(int concurrency,
long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static <K> GridOffHeapMap<K> |
GridOffHeapMapFactory.unsafeMap(long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapPartitionedMap |
GridOffHeapMapFactory.unsafePartitionedMap(int parts,
int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapPartitionedMap |
GridOffHeapMapFactory.unsafePartitionedMap(int parts,
int concurrency,
long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapPartitionedMap |
GridOffHeapMapFactory.unsafePartitionedMap(int parts,
long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
| Modifier and Type | Method and Description |
|---|---|
GridUnsafeMemory.Operation |
GridUnsafeMemory.begin()
Begins concurrent memory operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridUnsafeMemory.end(GridUnsafeMemory.Operation op)
Ends concurrent memory operation and releases resources.
|
| Constructor and Description |
|---|
GridUnsafeMap(int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener evictLsnr) |
GridUnsafePartitionedMap(int parts,
int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
GridOffHeapEvictListener evictLsnr) |
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
GridToStringBuilder.toString(Class<T> cls,
T obj,
String name,
Object val)
Produces auto-generated output of string presentation for given object and its declaration class.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Throwable> |
X.cause(Throwable t,
Class<T> cls)
Gets first cause if passed in
'Throwable' has given class in 'cause' hierarchy. |
static <T> T |
X.cloneObject(T obj,
boolean deep,
boolean honorCloneable)
Clones a passed in object.
|
static String |
X.getSystemOrEnv(String name)
Gets either system property or environment variable with given name.
|
static String |
X.getSystemOrEnv(String name,
String dflt)
Gets either system property or environment variable with given name.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Throwable> |
X.cause(Throwable t,
Class<T> cls)
Gets first cause if passed in
'Throwable' has given class in 'cause' hierarchy. |
static <T extends Throwable> |
X.cause(Throwable t,
Class<T> cls)
Gets first cause if passed in
'Throwable' has given class in 'cause' hierarchy. |
static <T> T |
X.cloneObject(T obj,
boolean deep,
boolean honorCloneable)
Clones a passed in object.
|
static void |
X.error(String s1,
Object... rest)
Alias for
System.err.println. |
static void |
X.error(String s1,
Object... rest)
Alias for
System.err.println. |
static boolean |
X.hasCause(Throwable t,
Class<? extends Throwable>... cls)
Checks if passed in
'Throwable' has given class in 'cause' hierarchy
including that throwable itself. |
static boolean |
X.hasCause(Throwable t,
Class<? extends Throwable>... cls)
Checks if passed in
'Throwable' has given class in 'cause' hierarchy
including that throwable itself. |
static boolean |
X.hasCauseExcludeRoot(Throwable t,
Class<? extends Throwable>... cls)
Checks if passed in
'Throwable' has given class in 'cause' hierarchy
excluding that throwable itself. |
static boolean |
X.hasCauseExcludeRoot(Throwable t,
Class<? extends Throwable>... cls)
Checks if passed in
'Throwable' has given class in 'cause' hierarchy
excluding that throwable itself. |
static double |
X.parseDouble(String s,
double dflt)
Parses double from possibly
null or invalid string. |
static void |
X.print(String s1,
Object... rest)
Alias for
System.out.print. |
static void |
X.print(String s1,
Object... rest)
Alias for
System.out.print. |
static void |
X.printerr(String s1,
Object... rest)
Alias for
System.err.print. |
static void |
X.printerr(String s1,
Object... rest)
Alias for
System.err.print. |
static void |
X.printerrln(String s1,
Object... rest)
Alias for
System.err.println. |
static void |
X.printerrln(String s1,
Object... rest)
Alias for
System.err.println. |
static void |
X.println(String s1,
Object... rest)
Alias for
System.out.println. |
static void |
X.println(String s1,
Object... rest)
Alias for
System.out.println. |
static void |
X.waitAll(Iterable<GridFuture<?>> futs)
Synchronously waits for all futures in the collection.
|
| Constructor and Description |
|---|
GridWorker(String gridName,
String name,
GridLogger log)
Creates new grid worker with given parameters.
|
GridWorker(String gridName,
String name,
GridLogger log,
GridWorkerListener lsnr)
Creates new grid worker with given parameters.
|
Copyright © 2014. All rights reserved.