| Modifier and Type | Method and Description |
|---|---|
static IgniteState |
IgniteState.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
<T extends Throwable> |
IgniteException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
IgniteIllegalStateException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
IgniteCheckedException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
static String |
IgniteSystemProperties.getString(String name)
Gets either system property or environment variable with given name.
|
static String |
IgniteSystemProperties.getString(String name,
String dflt)
Gets either system property or environment variable with given name.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteFuture<?> |
IgniteDataStreamer.addData(K key,
V val)
Adds data for streaming on remote node.
|
<R> R |
IgniteCompute.affinityCall(String cacheName,
Object affKey,
IgniteCallable<R> job)
Executes given job on the node where data for provided affinity key is located
(a.k.a. affinity co-location).
|
void |
IgniteCompute.affinityRun(String cacheName,
Object affKey,
IgniteRunnable job)
Executes given job on the node where data for provided affinity key is located
(a.k.a. affinity co-location).
|
IgfsOutputStream |
IgniteFileSystem.append(IgfsPath path,
int bufSize,
boolean create,
Map<String,String> props)
Opens an output stream to an existing file for appending data.
|
<R,T> R |
IgniteCompute.apply(IgniteClosure<T,R> job,
T arg)
Executes provided closure job on a node within the underlying cluster group.
|
<T> IgniteAtomicReference<T> |
Ignite.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> IgniteAtomicStamped<T,S> |
Ignite.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> IgniteAtomicStamped<T,S> |
Ignite.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. |
<R,T> Collection<R> |
IgniteCompute.broadcast(IgniteClosure<T,R> job,
T arg)
Broadcasts given closure job with passed in argument to all nodes in the cluster group.
|
<K,V> IgniteCache<K,V> |
Ignite.cache(String name)
Gets an instance of
IgniteCache API. |
<R> IgniteFuture<R> |
IgniteScheduler.callLocal(Callable<R> c)
Executes given callable on internal system thread pool asynchronously.
|
IgfsOutputStream |
IgniteFileSystem.create(IgfsPath path,
int bufSize,
boolean overwrite,
IgniteUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsOutputStream |
IgniteFileSystem.create(IgfsPath path,
int bufSize,
boolean overwrite,
IgniteUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsOutputStream |
IgniteFileSystem.create(IgfsPath path,
int bufSize,
boolean overwrite,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
<K,V> IgniteCache<K,V> |
Ignite.createNearCache(String cacheName,
NearCacheConfiguration<K,V> nearCfg)
Starts a near cache on local node if cache was previously started with one of the
Ignite.createCache(CacheConfiguration) or Ignite.createCache(CacheConfiguration, NearCacheConfiguration)
methods. |
<K,V> IgniteDataStreamer<K,V> |
Ignite.dataStreamer(String cacheName)
Gets a new instance of data streamer associated with given cache name.
|
void |
IgniteServices.deployKeyAffinitySingleton(String name,
Service svc,
String cacheName,
Object affKey)
Deploys one instance of this service on the primary node for a given affinity key.
|
void |
IgniteLogger.error(String msg,
Throwable e)
Logs error message with optional exception.
|
<T,R> R |
IgniteCompute.execute(Class<? extends ComputeTask<T,R>> taskCls,
T arg)
Executes given task on within the cluster group.
|
<T,R> R |
IgniteFileSystem.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgniteFileSystem.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgniteFileSystem.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgniteFileSystem.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgniteCompute.execute(ComputeTask<T,R> task,
T arg)
Executes given task within the cluster group.
|
<T,R> R |
IgniteFileSystem.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgniteFileSystem.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgniteFileSystem.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgniteFileSystem.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgniteCompute.execute(String taskName,
T arg)
Executes given task within the cluster group.
|
<T extends Throwable> |
IgniteException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
IgniteIllegalStateException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<T extends Throwable> |
IgniteCheckedException.getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
<K,V> IgniteCache<K,V> |
Ignite.getOrCreateNearCache(String cacheName,
NearCacheConfiguration<K,V> nearCfg)
Gets existing near cache with the given name or creates a new one.
|
boolean |
IgniteException.hasCause(Class<? extends Throwable>... cls)
Checks if this exception has given class in
'cause' hierarchy. |
boolean |
IgniteIllegalStateException.hasCause(Class<? extends Throwable>... cls)
Checks if this exception has given class in
'cause' hierarchy. |
boolean |
IgniteCheckedException.hasCause(Class<? extends Throwable>... cls)
Checks if this exception has given class in
'cause' hierarchy. |
static Ignite |
Ignition.ignite(String name)
Gets an named grid instance.
|
void |
IgniteCache.loadCache(IgniteBiPredicate<K,V> p,
Object... args)
Executes
IgniteCache.localLoadCache(IgniteBiPredicate, Object...) on all cache nodes. |
void |
IgniteCache.loadCache(IgniteBiPredicate<K,V> p,
Object... args)
Executes
IgniteCache.localLoadCache(IgniteBiPredicate, Object...) on all cache nodes. |
void |
IgniteMessaging.localListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds local listener for given topic on local node only.
|
void |
IgniteCache.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
IgniteCache.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
<T extends Event> |
IgniteEvents.localQuery(IgnitePredicate<T> p,
int... types)
Queries local node for events using passed-in predicate filter for event selection.
|
<K> Map<ClusterNode,Collection<K>> |
IgniteCluster.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<ClusterNode,Collection<K>> |
IgniteCluster.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> ClusterNode |
IgniteCluster.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.
|
void |
IgniteFileSystem.mkdirs(IgfsPath path,
Map<String,String> props)
Creates directories under specified path with the specified properties.
|
void |
IgnitionListener.onStateChange(String name,
IgniteState state)
Listener for grid factory state change notifications.
|
<T> IgniteQueue<T> |
Ignite.queue(String name,
int cap,
CollectionConfiguration cfg)
Will get a named queue from cache and create one if it has not been created yet and
cfg is not
null. |
<T extends Event> |
IgniteEvents.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEvents.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEvents.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
UUID |
IgniteMessaging.remoteListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds a message listener for a given topic to all nodes in the cluster group (possibly including
this node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEvents.remoteQuery(IgnitePredicate<T> p,
long timeout,
int... types)
Queries nodes in this cluster group for events using passed in predicate filter for event
selection.
|
IgniteFuture<?> |
IgniteScheduler.runLocal(Runnable r)
Executes given closure on internal system thread pool asynchronously.
|
void |
IgniteMessaging.send(Object topic,
Collection<?> msgs)
Sends given messages with the specified topic to the nodes in the underlying cluster group.
|
void |
IgniteMessaging.send(Object topic,
Object msg)
Sends given message with specified topic to the nodes in the underlying cluster group.
|
void |
IgniteMessaging.sendOrdered(Object topic,
Object msg,
long timeout)
Sends given message with specified topic to the nodes in the underlying cluster group.
|
<T> IgniteSet<T> |
Ignite.set(String name,
CollectionConfiguration cfg)
Will get a named set from cache and create one if it has not been created yet and
cfg is not
null. |
Collection<ClusterStartNodeResult> |
IgniteCluster.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 IgniteState |
Ignition.state(String name)
Gets states of named grid.
|
static boolean |
Ignition.stop(String name,
boolean cancel)
Stops named grid.
|
boolean |
IgniteEvents.stopLocalListen(IgnitePredicate<? extends Event> lsnr,
int... types)
Removes local event listener.
|
void |
IgniteMessaging.stopLocalListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Unregisters local listener for given topic on local node only.
|
<T extends Event> |
IgniteEvents.waitForLocal(IgnitePredicate<T> filter,
int... types)
Waits for the specified events.
|
<T extends Event> |
IgniteEvents.waitForLocal(IgnitePredicate<T> filter,
int... types)
Waits for the specified events.
|
void |
IgniteLogger.warning(String msg,
Throwable e)
Logs out warning message with optional exception.
|
| Constructor and Description |
|---|
IgniteCheckedException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
IgniteDeploymentException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
IgniteException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
IgniteIllegalStateException(String msg,
Throwable cause)
Constructs exception with given message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
static CachePeekMode |
CachePeekMode.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static CacheAtomicWriteOrderMode |
CacheAtomicWriteOrderMode.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static CacheRebalanceMode |
CacheRebalanceMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static CacheWriteSynchronizationMode |
CacheWriteSynchronizationMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static CacheAtomicityMode |
CacheAtomicityMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static CacheMode |
CacheMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
V |
CacheInterceptor.onBeforePut(javax.cache.Cache.Entry<K,V> entry,
V newVal)
This method is called within
IgniteCache.put(Object, Object)
and similar operations before new value is stored in cache. |
V |
CacheInterceptorAdapter.onBeforePut(javax.cache.Cache.Entry<K,V> entry,
V newVal)
This method is called within
IgniteCache.put(Object, Object)
and similar operations before new value is stored in cache. |
IgniteBiTuple<Boolean,V> |
CacheInterceptor.onBeforeRemove(javax.cache.Cache.Entry<K,V> entry)
This method is called within
IgniteCache.remove(Object)
and similar operations to provide control over returned value. |
IgniteBiTuple<Boolean,V> |
CacheInterceptorAdapter.onBeforeRemove(javax.cache.Cache.Entry<K,V> entry)
This method is called within
IgniteCache.remove(Object)
and similar operations to provide control over returned value. |
V |
CacheInterceptor.onGet(K key,
V val)
This method is called within
IgniteCache.get(Object)
and similar operations to provide control over returned value. |
V |
CacheInterceptorAdapter.onGet(K key,
V val)
This method is called within
IgniteCache.get(Object)
and similar operations to provide control over returned value. |
| Modifier and Type | Method and Description |
|---|---|
javax.cache.CacheManager |
CachingProvider.getCacheManager(URI uri,
ClassLoader clsLdr,
Properties props) |
V |
CacheInterceptor.onGet(K key,
V val)
This method is called within
IgniteCache.get(Object)
and similar operations to provide control over returned value. |
| Constructor and Description |
|---|
CacheExistsException(String msg,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEvent |
AffinityFunctionContext.discoveryEvent()
Gets discovery event caused topology change.
|
ClusterNode |
Affinity.mapKeyToNode(K key)
This method provides ability to detect to which primary node the given key
is mapped.
|
List<ClusterNode> |
AffinityFunctionContext.previousAssignment(int part)
Gets affinity assignment for given partition on previous topology version.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteBiPredicate<ClusterNode,ClusterNode> |
RendezvousAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
| Modifier and Type | Method and Description |
|---|---|
List<ClusterNode> |
RendezvousAffinityFunction.assignPartition(int part,
List<ClusterNode> nodes,
int backups,
Map<UUID,Collection<ClusterNode>> neighborhoodCache)
Returns collection of nodes (primary first) for specified partition.
|
void |
RendezvousAffinityFunction.setBackupFilter(IgniteBiPredicate<ClusterNode,ClusterNode> backupFilter)
Sets optional backup filter.
|
| Constructor and Description |
|---|
RendezvousAffinityFunction(int parts,
IgniteBiPredicate<ClusterNode,ClusterNode> backupFilter)
Initializes optional counts for replicas and backups.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
EvictableEntry.addMeta(T val)
Adds a new metadata.
|
<T> T |
EvictableEntry.meta()
Gets metadata added by eviction policy.
|
<T> T |
EvictableEntry.putMetaIfAbsent(T val)
Adds given metadata value only if it was absent.
|
<T> T |
EvictableEntry.removeMeta()
Removes metadata by name.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
IgfsPerBlockLruEvictionPolicyMXBean.getExcludePaths()
Gets collection of regex for paths whose blocks must not be evicted.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgfsPerBlockLruEvictionPolicyMXBean.setExcludePaths(Collection<String> excludePaths)
Sets collection of regex for paths whose blocks must not be evicted.
|
void |
IgfsPerBlockLruEvictionPolicy.setExcludePaths(Collection<String> excludePaths)
Sets collection of regex for paths whose blocks must not be evicted.
|
| Constructor and Description |
|---|
IgfsPerBlockLruEvictionPolicy(long maxSize,
int maxBlocks,
Collection<String> excludePaths)
Constructor.
|
| Constructor and Description |
|---|
SortedEvictionPolicy(Comparator<EvictableEntry<K,V>> comp)
Constructs sorted eviction policy with given maximum size and given entry comparator.
|
SortedEvictionPolicy(int max,
Comparator<EvictableEntry<K,V>> comp)
Constructs sorted eviction policy with given maximum size and given entry comparator.
|
SortedEvictionPolicy(int max,
int batchSize,
Comparator<EvictableEntry<K,V>> comp)
Constructs sorted eviction policy with given maximum size, eviction batch size and entries comparator.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
ScanQuery.getPartition()
Gets partition number over which this query should iterate.
|
| Modifier and Type | Method and Description |
|---|---|
ScanQuery<K,V> |
ScanQuery.setFilter(IgniteBiPredicate<K,V> filter)
Sets filter.
|
ScanQuery<K,V> |
ScanQuery.setPartition(Integer part)
Sets partition number over which this query should iterate.
|
| Constructor and Description |
|---|
ScanQuery(IgniteBiPredicate<K,V> filter)
Create scan query with filter.
|
ScanQuery(Integer part,
IgniteBiPredicate<K,V> filter)
Create scan query with filter.
|
ScanQuery(Integer part,
IgniteBiPredicate<K,V> filter)
Create scan query with filter.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
CacheStoreSession.attach(Object attachment)
Attaches the given object to this session.
|
<T> T |
CacheStoreSession.attachment()
Retrieves the current attachment or
null if there is no attachment. |
protected abstract IgniteBiTuple<K,V> |
CacheLoadOnlyStoreAdapter.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 |
|---|---|
<T> T |
CacheStoreSession.attach(Object attachment)
Attaches the given object to this session.
|
protected abstract Iterator<I> |
CacheLoadOnlyStoreAdapter.inputIterator(Object... args)
Returns iterator of input records.
|
void |
CacheStore.loadCache(IgniteBiInClosure<K,V> clo,
Object... args)
Loads all values from underlying persistent storage.
|
void |
CacheLoadOnlyStoreAdapter.loadCache(IgniteBiInClosure<K,V> c,
Object... args)
Loads all values from underlying persistent storage.
|
protected abstract IgniteBiTuple<K,V> |
CacheLoadOnlyStoreAdapter.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 Object |
CacheJdbcPojoStore.extractParameter(String cacheName,
String typeName,
String fieldName,
Object obj)
Get field value from object for use as query parameter.
|
protected abstract Object |
CacheAbstractJdbcStore.extractParameter(String cacheName,
String typeName,
String fieldName,
Object obj)
Get field value from object for use as query parameter.
|
V |
CacheAbstractJdbcStore.load(K key) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract <R> R |
CacheAbstractJdbcStore.buildObject(String cacheName,
String typeName,
Collection<CacheTypeFieldMetadata> fields,
Map<String,Integer> loadColIdxs,
ResultSet rs)
Construct object from query result.
|
protected void |
CacheAbstractJdbcStore.closeConnection(Connection conn)
Closes connection.
|
protected void |
CacheAbstractJdbcStore.end(Connection conn,
Statement st)
Closes allocated resources depending on transaction status.
|
protected void |
CacheAbstractJdbcStore.end(Connection conn,
Statement st)
Closes allocated resources depending on transaction status.
|
protected abstract Object |
CacheAbstractJdbcStore.extractParameter(String cacheName,
String typeName,
String fieldName,
Object obj)
Get field value from object for use as query parameter.
|
protected void |
CacheAbstractJdbcStore.fillParameter(PreparedStatement stmt,
int i,
CacheTypeFieldMetadata field,
Object fieldVal)
Sets the value of the designated parameter using the given object.
|
void |
CacheAbstractJdbcStore.loadCache(IgniteBiInClosure<K,V> clo,
Object... args)
Loads all values from underlying persistent storage.
|
protected void |
CacheJdbcPojoStore.prepareBuilders(String cacheName,
Collection<CacheTypeMetadata> types)
Prepare internal store specific builders for provided types metadata.
|
protected abstract void |
CacheAbstractJdbcStore.prepareBuilders(String cacheName,
Collection<CacheTypeMetadata> types)
Prepare internal store specific builders for provided types metadata.
|
| Constructor and Description |
|---|
CacheAbstractJdbcStore.EntryMapping(String cacheName,
JdbcDialect dialect,
CacheTypeMetadata typeMeta) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ClusterNode.attribute(String name)
Gets a node attribute.
|
String |
ClusterStartNodeResult.getError()
Gets error message if any.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterGroup |
ClusterGroup.forAttribute(String name,
String val)
Creates a new cluster group for nodes containing given name and value
specified in user attributes.
|
| Constructor and Description |
|---|
ClusterGroupEmptyException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
ClusterTopologyException(String msg,
Throwable cause)
Creates new topology exception with given error message and optional
nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ComputeJobAdapter.argument(int idx)
Gets job argument.
|
static ComputeJobResultPolicy |
ComputeJobResultPolicy.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static ComputeTaskSessionScope |
ComputeTaskSessionScope.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
<K,V> V |
ComputeTaskSession.getAttribute(K key)
Gets an attribute set by
ComputeTaskSession.setAttribute(Object, Object) or ComputeTaskSession.setAttributes(Map)
method. |
ClusterNode |
ComputeLoadBalancer.getBalancedNode(ComputeJob job,
Collection<ClusterNode> exclNodes)
Gets the next balanced node according to the underlying load balancing policy.
|
ComputeJobSibling |
ComputeTaskSession.getJobSibling(IgniteUuid jobId)
Gets job sibling for a given ID.
|
<T> T |
ComputeJobContinuation.holdcc()
Holds (suspends) a given job indefinitely until
ComputeJobContinuation.callcc() is called. |
<T> T |
ComputeJobContinuationAdapter.holdcc()
Holds (suspends) a given job indefinitely until
ComputeJobContinuation.callcc() is called. |
<T> T |
ComputeJobContinuation.holdcc(long timeout)
Holds (suspends) a given job for specified timeout or until
ComputeJobContinuation.callcc() is called. |
<T> T |
ComputeJobContinuationAdapter.holdcc(long timeout)
Holds (suspends) a given job for specified timeout or until
ComputeJobContinuation.callcc() is called. |
<T> T |
ComputeTaskSession.loadCheckpoint(String key)
Loads job's state previously saved via
ComputeTaskSession.saveCheckpoint(String, Object, ComputeTaskSessionScope, long)
method from an underlying storage for a given key. |
Map<? extends ComputeJob,ClusterNode> |
ComputeTask.map(List<ClusterNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
R |
ComputeTask.reduce(List<ComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
ComputeTaskFuture.get() method. |
| Modifier and Type | Method and Description |
|---|---|
ClusterNode |
ComputeLoadBalancer.getBalancedNode(ComputeJob job,
Collection<ClusterNode> exclNodes)
Gets the next balanced node according to the underlying load balancing policy.
|
Map<? extends ComputeJob,ClusterNode> |
ComputeTask.map(List<ClusterNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
void |
ComputeJobAdapter.setArguments(Object... args)
Sets given arguments.
|
void |
ComputeJobContext.setAttribute(Object key,
Object val)
Sets an attribute into this job context.
|
void |
ComputeTaskSession.setAttribute(Object key,
Object val)
Sets session attributed.
|
<K,V> boolean |
ComputeTaskSession.waitForAttribute(K key,
V val,
long timeout)
Waits for the specified attribute to be set or updated with given value.
|
| Constructor and Description |
|---|
ComputeExecutionRejectedException(String msg,
Throwable cause)
Creates new execution rejection exception with given error message
and optional nested exception.
|
ComputeJobAdapter(Object... args)
Creates job with specified arguments.
|
ComputeJobAdapter(Object arg)
Creates job with one arguments.
|
ComputeJobContinuationAdapter(Object... args)
Creates job with specified arguments.
|
ComputeJobContinuationAdapter(Object arg)
Creates job with one arguments.
|
ComputeJobFailoverException(String msg,
Throwable cause)
Creates new exception with given error message
and optional nested exception.
|
ComputeTaskCancelledException(String msg,
Throwable cause)
Creates new task cancellation exception with given error message and optional nested exception.
|
ComputeTaskTimeoutException(String msg,
Throwable cause)
Creates task timeout exception with given task execution ID,
error message and optional nested exception.
|
ComputeUserUndeclaredException(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 |
|---|---|
static DeploymentMode |
DeploymentMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
String |
FileSystemConfiguration.getDataCacheName()
Cache name to store IGFS data.
|
ExecutorService |
FileSystemConfiguration.getDualModePutExecutorService()
Get DUAL mode put operation executor service.
|
EvictionPolicy<K,V> |
CacheConfiguration.getEvictionPolicy()
Gets cache eviction policy.
|
CacheInterceptor<K,V> |
CacheConfiguration.getInterceptor()
Gets cache interceptor.
|
IgfsIpcEndpointConfiguration |
FileSystemConfiguration.getIpcEndpointConfiguration()
Gets IPC endpoint configuration.
|
ConnectorMessageInterceptor |
ConnectorConfiguration.getMessageInterceptor()
Gets interceptor for objects, moving to and from remote clients.
|
String |
FileSystemConfiguration.getMetaCacheName()
Cache name to store IGFS meta information.
|
String |
FileSystemConfiguration.getName()
Gets IGFS instance name.
|
Map<String,IgfsMode> |
FileSystemConfiguration.getPathModes()
Gets map of path prefixes to
IGFS modes used for them. |
String |
ConnectorConfiguration.getSecretKey()
Gets secret key to authenticate REST requests.
|
Class<?>[] |
CacheConfiguration.getSqlFunctionClasses()
Gets classes with methods annotated by
QuerySqlFunction
to be used as user-defined functions from SQL queries. |
Object |
ConnectorMessageInterceptor.onReceive(Object obj)
Intercepts received objects.
|
Object |
ConnectorMessageInterceptor.onSend(Object obj)
Intercepts received objects.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ConnectorMessageInterceptor.onReceive(Object obj)
Intercepts received objects.
|
CacheConfiguration |
CacheConfiguration.setEvictionPolicy(EvictionPolicy evictPlc)
Sets cache eviction policy.
|
void |
FileSystemConfiguration.setIpcEndpointConfiguration(IgfsIpcEndpointConfiguration ipcEndpointCfg)
Sets IPC endpoint configuration.
|
void |
ConnectorConfiguration.setSecretKey(String secretKey)
Sets secret key to authenticate REST requests.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
CacheQueryExecutedEvent.arguments()
Gets query arguments.
|
Object[] |
CacheQueryReadEvent.arguments()
Gets query arguments.
|
String |
CacheQueryExecutedEvent.cacheName()
Gets cache name on which query was executed.
|
String |
CacheQueryReadEvent.cacheName()
Gets cache name on which query was executed.
|
String |
CacheQueryExecutedEvent.className()
Gets queried class name.
|
String |
CacheQueryReadEvent.className()
Gets queried class name.
|
String |
CacheQueryExecutedEvent.clause()
Gets query clause.
|
String |
CacheQueryReadEvent.clause()
Gets query clause.
|
CacheEntryEventSerializableFilter<K,V> |
CacheQueryExecutedEvent.continuousQueryFilter()
Gets continuous query filter.
|
CacheEntryEventSerializableFilter<K,V> |
CacheQueryReadEvent.continuousQueryFilter()
Gets continuous query filter.
|
K |
CacheQueryReadEvent.key()
Gets read entry key.
|
String |
Event.message()
Gets optional message for this event.
|
String |
EventAdapter.message()
Gets optional message for this event.
|
IgfsPath |
IgfsEvent.newPath()
New file or directory path for this event (used in
EventType.EVT_IGFS_FILE_RENAMED event). |
V |
CacheQueryReadEvent.oldValue()
Gets read entry old value (applicable for continuous queries).
|
Object |
CacheQueryReadEvent.row()
Gets read results set row.
|
IgniteBiPredicate<K,V> |
CacheQueryExecutedEvent.scanQueryFilter()
Gets scan query filter.
|
IgniteBiPredicate<K,V> |
CacheQueryReadEvent.scanQueryFilter()
Gets scan query filter.
|
String |
SwapSpaceEvent.space()
Gets swap space name.
|
UUID |
CacheQueryExecutedEvent.subjectId()
Gets security subject ID.
|
UUID |
TaskEvent.subjectId()
Gets security subject ID initiated this task event, if available.
|
UUID |
CacheQueryReadEvent.subjectId()
Gets security subject ID.
|
String |
CacheQueryExecutedEvent.taskName()
Gets the name of the task that executed the query (if any).
|
String |
CacheQueryReadEvent.taskName()
Gets the name of the task that executed the query (if any).
|
Map<String,String> |
IgfsEvent.updatedMeta()
Updated file metadata properties.
|
V |
CacheQueryReadEvent.value()
Gets read entry value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventAdapter.message(String msg)
Sets optional event message.
|
| Constructor and Description |
|---|
CacheEvent(String cacheName,
ClusterNode node,
ClusterNode evtNode,
String msg,
int type,
int part,
boolean near,
Object key,
IgniteUuid xid,
Object lockId,
Object newVal,
boolean hasNewVal,
Object oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName)
Constructs cache event.
|
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
SwapSpaceEvent(ClusterNode node,
String msg,
int type,
String space)
Creates swap space event.
|
TaskEvent(ClusterNode node,
String msg,
int type,
IgniteUuid sesId,
String taskName,
String taskClsName,
boolean internal,
UUID subjId)
Creates task event with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
IgfsUserContext.currentUser()
Gets the current context user.
|
static IgfsMode |
IgfsMode.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
IgfsPath |
IgfsPath.parent()
Returns the parent of a path or
null if at root. |
String |
IgfsFile.property(String name,
String dfltVal)
Get file's property for specified name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
IgfsFile.property(String name,
String dfltVal)
Get file's property for specified name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract IgfsJob |
IgfsTask.createJob(IgfsPath path,
IgfsFileRange range,
IgfsTaskArgs<T> args)
Callback invoked during task map procedure to create job that will process specified split
for IGFS file.
|
Map<? extends ComputeJob,ClusterNode> |
IgfsTask.map(List<ClusterNode> subgrid,
IgfsTaskArgs<T> args)
This method is called to map or split grid task into multiple grid jobs.
|
IgfsFileRange |
IgfsRecordResolver.resolveRecords(IgniteFileSystem fs,
IgfsInputStream stream,
IgfsFileRange suggestedRecord)
Adjusts record start offset and length.
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends ComputeJob,ClusterNode> |
IgfsTask.map(List<ClusterNode> subgrid,
IgfsTaskArgs<T> args)
This method is called to map or split grid task into multiple grid jobs.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
IgfsSecondaryFileSystem.append(IgfsPath path,
int bufSize,
boolean create,
Map<String,String> props)
Opens an output stream to an existing file for appending data.
|
OutputStream |
IgfsSecondaryFileSystem.create(IgfsPath path,
int bufSize,
boolean overwrite,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
void |
IgfsSecondaryFileSystem.mkdirs(IgfsPath path,
Map<String,String> props)
Creates directories under specified path with the specified properties.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteAtomicLong |
IgniteKernal.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> IgniteAtomicReference<T> |
IgniteKernal.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. |
IgniteAtomicSequence |
IgniteKernal.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> IgniteAtomicStamped<T,S> |
IgniteKernal.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. |
<K,V> IgniteInternalCache<K,V> |
IgniteEx.cachex()
Gets default cache instance if one is configured or null otherwise returning even non-public caches.
|
<K,V> IgniteInternalCache<K,V> |
IgniteEx.cachex(String name)
Gets the cache instance for the given name if one is configured or
null otherwise returning even non-public caches.
|
Serializable |
GridComponent.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
Serializable |
GridPluginComponent.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
IgniteCountDownLatch |
IgniteKernal.countDownLatch(String name,
int cnt,
boolean autoDel,
boolean create)
Gets or creates count down latch.
|
<T> T |
GridKernalContextImpl.createComponent(Class<T> cls)
Creates optional component.
|
GridComponent.DiscoveryDataExchangeType |
GridComponent.discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
GridComponent.DiscoveryDataExchangeType |
GridPluginComponent.discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
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.
|
static GridKernalState |
GridKernalState.fromOrdinal(int ord) |
IgniteException |
GridJobExecuteResponse.getException() |
byte[] |
GridJobExecuteResponse.getExceptionBytes() |
Map<Object,Object> |
GridJobExecuteResponse.getJobAttributes() |
byte[] |
GridJobExecuteResponse.getJobAttributesBytes() |
IgniteUuid |
GridTaskSessionImpl.getJobId() |
IgniteUuid |
GridTaskSessionInternal.getJobId() |
Object |
GridJobExecuteResponse.getJobResult() |
byte[] |
GridJobExecuteResponse.getJobResultBytes() |
IgniteFileSystem |
IgniteKernal.igfsx(String name)
Get IGFS instance returning null if it doesn't exist.
|
IgniteFileSystem |
IgniteEx.igfsx(String name)
Get IGFS instance returning null if it doesn't exist.
|
IgniteUuid |
GridJobCancelRequest.jobId()
Gets session ID of job to be cancelled.
|
String |
IgniteEx.latestVersion()
Get latest version in string form.
|
MessageFactory |
IgniteComponentType.messageFactory()
Creates message factory for the component.
|
Object |
GridMessageListenHandler.orderedTopic() |
<T> IgniteQueue<T> |
IgniteKernal.queue(String name,
int cap,
CollectionConfiguration cfg)
Will get a named queue from cache and create one if it has not been created yet and
cfg is not
null. |
IgniteUuid |
GridJobCancelRequest.sessionId()
Gets execution ID of task to be cancelled.
|
<T> IgniteSet<T> |
IgniteKernal.set(String name,
CollectionConfiguration cfg)
Will get a named set from cache and create one if it has not been created yet and
cfg is not
null. |
Collection<UUID> |
GridJobExecuteRequest.topology() |
IgniteNodeValidationResult |
GridComponent.validateNode(ClusterNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
IgniteNodeValidationResult |
GridPluginComponent.validateNode(ClusterNode 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 |
|---|---|
<R> R |
IgniteComputeImpl.affinityCall(String cacheName,
Object affKey,
IgniteCallable<R> job)
Executes given job on the node where data for provided affinity key is located
(a.k.a. affinity co-location).
|
void |
IgniteComputeImpl.affinityRun(String cacheName,
Object affKey,
IgniteRunnable job)
Executes given job on the node where data for provided affinity key is located
(a.k.a. affinity co-location).
|
<T,R> Collection<R> |
IgniteComputeImpl.apply(IgniteClosure<T,R> job,
Collection<? extends T> args)
Executes provided closure job on nodes within the underlying cluster group.
|
<R,T> R |
IgniteComputeImpl.apply(IgniteClosure<T,R> job,
T arg)
Executes provided closure job on a node within the underlying cluster group.
|
<T> IgniteAtomicReference<T> |
IgniteKernal.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> IgniteAtomicStamped<T,S> |
IgniteKernal.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> IgniteAtomicStamped<T,S> |
IgniteKernal.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. |
<R,T> Collection<R> |
IgniteComputeImpl.broadcast(IgniteClosure<T,R> job,
T arg)
Broadcasts given closure job with passed in argument to all nodes in the cluster group.
|
<K,V> IgniteCache<K,V> |
IgniteKernal.cache(String name)
Gets an instance of
IgniteCache API. |
Collection<IgniteInternalCache<?,?>> |
IgniteEx.cachesx(IgnitePredicate<? super IgniteInternalCache<?,?>>... p)
Gets configured cache instance that satisfy all provided predicates including non-public caches.
|
<K,V> IgniteInternalCache<K,V> |
IgniteKernal.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> IgniteInternalCache<K,V> |
IgniteEx.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> IgniteDataStreamer<K,V> |
IgniteKernal.dataStreamer(String cacheName)
Gets a new instance of data streamer associated with given cache name.
|
void |
IgniteServicesImpl.deployKeyAffinitySingleton(String name,
Service svc,
String cacheName,
Object affKey)
Deploys one instance of this service on the primary node for a given affinity key.
|
<T,R> R |
IgniteComputeImpl.execute(Class<? extends ComputeTask<T,R>> taskCls,
T arg)
Executes given task on within the cluster group.
|
<T,R> R |
IgniteComputeImpl.execute(ComputeTask<T,R> task,
T arg)
Executes given task within the cluster group.
|
<T,R> R |
IgniteComputeImpl.execute(String taskName,
T arg)
Executes given task within the cluster group.
|
<T,R> ComputeTaskInternalFuture<R> |
IgniteComputeImpl.executeAsync(ComputeTask<T,R> task,
T arg) |
<T,R> ComputeTaskInternalFuture<R> |
IgniteComputeImpl.executeAsync(String taskName,
T arg) |
<K,V> IgniteInternalCache<K,V> |
IgniteKernal.getCache(String name) |
<K,V> IgniteCache<K,V> |
IgniteKernal.getOrCreateNearCache(String cacheName,
NearCacheConfiguration<K,V> nearCfg)
Gets existing near cache with the given name or creates a new one.
|
static Ignite |
IgnitionEx.grid(String name)
Gets an named grid instance.
|
static IgniteKernal |
IgnitionEx.gridx(String name)
Gets grid instance without waiting its initialization.
|
IgniteFileSystem |
IgniteKernal.igfsx(String name)
Get IGFS instance returning null if it doesn't exist.
|
IgniteFileSystem |
IgniteEx.igfsx(String name)
Get IGFS instance returning null if it doesn't exist.
|
<K,V> GridCacheAdapter<K,V> |
IgniteKernal.internalCache(String name)
USED ONLY FOR TESTING.
|
void |
IgniteMessagingImpl.localListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds local listener for given topic on local node only.
|
<T extends Event> |
IgniteEventsImpl.localQuery(IgnitePredicate<T> p,
int... types)
Queries local node for events using passed-in predicate filter for event selection.
|
void |
GridPerformanceSuggestions.logSuggestions(IgniteLogger log,
String gridName) |
void |
GridJobResultImpl.onResponse(Object data,
IgniteException ex,
Map<Object,Object> jobAttrs,
boolean isCancelled) |
void |
GridJobResultImpl.onResponse(Object data,
IgniteException ex,
Map<Object,Object> jobAttrs,
boolean isCancelled) |
void |
GridJobResultImpl.onResponse(Object data,
IgniteException ex,
Map<Object,Object> jobAttrs,
boolean isCancelled) |
<T extends Event> |
IgniteEventsImpl.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEventsImpl.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEventsImpl.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
UUID |
IgniteMessagingImpl.remoteListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds a message listener for a given topic to all nodes in the cluster group (possibly including
this node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEventsImpl.remoteQuery(IgnitePredicate<T> p,
long timeout,
int... types)
Queries nodes in this cluster group for events using passed in predicate filter for event
selection.
|
void |
IgniteMessagingImpl.send(Object topic,
Collection<?> msgs)
Sends given messages with the specified topic to the nodes in the underlying cluster group.
|
void |
IgniteMessagingImpl.send(Object topic,
Object msg)
Sends given message with specified topic to the nodes in the underlying cluster group.
|
void |
IgniteMessagingImpl.sendOrdered(Object topic,
Object msg,
long timeout)
Sends given message with specified topic to the nodes in the underlying cluster group.
|
void |
GridJobSessionImpl.setAttribute(Object key,
Object val)
Sets session attributed.
|
void |
GridJobContextImpl.setAttribute(Object key,
Object val)
Sets an attribute into this job context.
|
static Ignite |
IgnitionEx.start(GridSpringResourceContext springCtx)
Starts grid with default configuration.
|
static Ignite |
IgnitionEx.start(IgniteConfiguration cfg,
GridSpringResourceContext springCtx)
Starts grid with given configuration.
|
static Ignite |
IgnitionEx.start(InputStream springCfgStream,
String gridName,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration input stream.
|
static Ignite |
IgnitionEx.start(InputStream springCfgStream,
String gridName,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration input stream.
|
static Ignite |
IgnitionEx.start(String springCfgPath)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(String springCfgPath,
String gridName)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(String springCfgPath,
String gridName)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(String springCfgPath,
String gridName,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(String springCfgPath,
String gridName,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(URL springCfgUrl,
String gridName,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration file URL.
|
static Ignite |
IgnitionEx.start(URL springCfgUrl,
String gridName,
GridSpringResourceContext springCtx)
Starts all grids specified within given Spring XML configuration file URL.
|
static IgniteState |
IgnitionEx.state(String name)
Gets states of named grid.
|
static boolean |
IgnitionEx.stop(String name,
boolean cancel)
Stops named grid.
|
boolean |
IgniteEventsImpl.stopLocalListen(IgnitePredicate<? extends Event> lsnr,
int... types)
Removes local event listener.
|
void |
IgniteMessagingImpl.stopLocalListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Unregisters local listener for given topic on local node only.
|
<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 Event> |
IgniteEventsImpl.waitForLocal(IgnitePredicate<T> filter,
int... types)
Waits for the specified events.
|
<T extends Event> |
IgniteEventsImpl.waitForLocal(IgnitePredicate<T> filter,
int... types)
Waits for the specified events.
|
| Constructor and Description |
|---|
GridInternalException(String msg,
Throwable cause)
Creates new internal exception with given error message and
optional nested exception.
|
GridJobCancelRequest(IgniteUuid sesId,
IgniteUuid jobId) |
GridJobCancelRequest(IgniteUuid sesId,
IgniteUuid jobId) |
GridJobCancelRequest(IgniteUuid sesId,
IgniteUuid jobId,
boolean sys) |
GridJobCancelRequest(IgniteUuid sesId,
IgniteUuid jobId,
boolean sys) |
GridJobContextImpl(GridKernalContext ctx,
IgniteUuid jobId) |
GridJobExecuteRequest(IgniteUuid sesId,
IgniteUuid jobId,
String taskName,
String userVer,
String taskClsName,
byte[] jobBytes,
ComputeJob job,
long startTaskTime,
long timeout,
Collection<UUID> top,
byte[] siblingsBytes,
Collection<ComputeJobSibling> siblings,
byte[] sesAttrsBytes,
Map<Object,Object> sesAttrs,
byte[] jobAttrsBytes,
Map<? extends Serializable,? extends Serializable> jobAttrs,
String cpSpi,
IgniteUuid clsLdrId,
DeploymentMode depMode,
boolean dynamicSiblings,
Map<UUID,IgniteUuid> ldrParticipants,
boolean forceLocDep,
boolean sesFullSup,
boolean internal,
UUID subjId) |
GridJobSiblingsResponse(Collection<ComputeJobSibling> siblings,
byte[] siblingsBytes) |
GridJobSiblingsResponse(Collection<ComputeJobSibling> siblings,
byte[] siblingsBytes) |
GridLoggerProxy(IgniteLogger impl,
Object ctgr,
String gridName,
String id8) |
GridLoggerProxy(IgniteLogger impl,
Object ctgr,
String gridName,
String id8) |
GridMessageListenHandler(Object topic,
IgniteBiPredicate<UUID,Object> pred) |
GridTaskSessionImpl(UUID taskNodeId,
String taskName,
GridDeployment dep,
String taskClsName,
IgniteUuid sesId,
Collection<UUID> top,
long startTime,
long endTime,
Collection<ComputeJobSibling> siblings,
Map<Object,Object> attrs,
GridKernalContext ctx,
boolean fullSup,
UUID subjId) |
GridTaskSessionImpl(UUID taskNodeId,
String taskName,
GridDeployment dep,
String taskClsName,
IgniteUuid sesId,
Collection<UUID> top,
long startTime,
long endTime,
Collection<ComputeJobSibling> siblings,
Map<Object,Object> attrs,
GridKernalContext ctx,
boolean fullSup,
UUID subjId) |
GridTaskSessionImpl(UUID taskNodeId,
String taskName,
GridDeployment dep,
String taskClsName,
IgniteUuid sesId,
Collection<UUID> top,
long startTime,
long endTime,
Collection<ComputeJobSibling> siblings,
Map<Object,Object> attrs,
GridKernalContext ctx,
boolean fullSup,
UUID subjId) |
IgniteDeploymentCheckedException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
IgniteFutureCancelledCheckedException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
IgniteFutureTimeoutCheckedException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
IgniteKernal(GridSpringResourceContext rsrcCtx) |
MarshallerContextAdapter(List<PluginProvider> plugins)
Initializes context.
|
| 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.
|
GridClientConnectionManager |
GridClientImpl.newConnectionManager(Byte marshId,
boolean routerClient) |
void |
GridClientFutureAdapter.onDone(R res)
Callback to notify that future is finished successfully.
|
| Modifier and Type | Method and Description |
|---|---|
protected GridClientConnection |
GridClientConnectionManagerAdapter.connect(UUID nodeId,
Collection<InetSocketAddress> srvs)
Creates a connected facade and returns it.
|
protected GridClientConnection |
GridClientConnectionManagerAdapter.connect(UUID nodeId,
InetSocketAddress addr)
Create new connection to specified server.
|
GridClientConnection |
GridClientConnectionManagerAdapter.connection(UUID nodeId,
Collection<InetSocketAddress> srvs)
Returns connection to one of the given addresses.
|
protected GridClientException |
GridClientConnection.getCloseReasonAsException(org.apache.ignite.internal.client.impl.connection.GridClientConnectionCloseReason reason,
Throwable cause)
Build appropriate exception from the given close reason.
|
protected String |
GridClientConnection.getCloseReasonMessage(org.apache.ignite.internal.client.impl.connection.GridClientConnectionCloseReason reason,
Throwable cause) |
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.
|
| Constructor and Description |
|---|
GridClientConnectionManagerAdapter(UUID clientId,
SSLContext sslCtx,
GridClientConfiguration cfg,
Collection<InetSocketAddress> routers,
GridClientTopology top,
Byte marshId,
boolean routerClient) |
| Modifier and Type | Method and Description |
|---|---|
SecurityCredentialsProvider |
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 |
|---|---|
void |
GridTcpRouterNioListenerAdapter.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. |
| 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 |
|---|---|
<K> ClusterNode |
IgniteClusterAsyncImpl.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.
|
ClusterNode |
IgniteClusterAsyncImpl.node()
Gets first node from the list of nodes in this cluster group.
|
ClusterNode |
IgniteClusterAsyncImpl.node(UUID id)
Gets a node for given ID from this cluster group.
|
Collection<ClusterNode> |
IgniteClusterAsyncImpl.topology(long topVer)
Gets a topology by version.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterGroup |
IgniteClusterAsyncImpl.forAttribute(String name,
String val)
Creates a new cluster group for nodes containing given name and value
specified in user attributes.
|
ClusterGroup |
ClusterGroupAdapter.forAttribute(String name,
String val)
Creates a new cluster group for nodes containing given name and value
specified in user attributes.
|
ClusterGroup |
ClusterGroupAdapter.forCacheNodes(String cacheName)
Creates a cluster group for all nodes that have cache with specified name, either in client or server modes.
|
ClusterGroup |
ClusterGroupEx.forCacheNodes(String cacheName,
boolean affNodes,
boolean nearNodes,
boolean clientNodes) |
ClusterGroup |
ClusterGroupAdapter.forCacheNodes(String cacheName,
boolean affNodes,
boolean nearNodes,
boolean clientNodes) |
ClusterGroup |
ClusterGroupAdapter.forClientNodes(String cacheName)
Creates a cluster group for all client nodes that access cache with the specified name.
|
ClusterGroup |
ClusterGroupAdapter.forDataNodes(String cacheName)
Creates a cluster group for all data nodes that have the cache with the specified name running.
|
<K> Map<ClusterNode,Collection<K>> |
IgniteClusterImpl.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<ClusterNode,Collection<K>> |
IgniteClusterImpl.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<ClusterNode,Collection<K>> |
IgniteClusterAsyncImpl.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<ClusterNode,Collection<K>> |
IgniteClusterAsyncImpl.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> ClusterNode |
IgniteClusterImpl.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.
|
<K> ClusterNode |
IgniteClusterAsyncImpl.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.
|
Collection<ClusterStartNodeResult> |
IgniteClusterImpl.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).
|
Collection<ClusterStartNodeResult> |
IgniteClusterAsyncImpl.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).
|
| Constructor and Description |
|---|
ClusterGroupAdapter(GridKernalContext ctx,
UUID subjId,
IgnitePredicate<ClusterNode> p) |
ClusterGroupAdapter(GridKernalContext ctx,
UUID subjId,
IgnitePredicate<ClusterNode> p) |
ClusterGroupAdapter(GridKernalContext ctx,
UUID subjId,
IgnitePredicate<ClusterNode> p) |
ClusterGroupAdapter(GridKernalContext ctx,
UUID subjId,
Set<UUID> ids) |
ClusterGroupAdapter(GridKernalContext ctx,
UUID subjId,
Set<UUID> ids) |
ClusterGroupEmptyCheckedException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
ClusterTopologyCheckedException(String msg,
Throwable cause)
Creates new topology exception with given error message and optional
nested exception.
|
| Constructor and Description |
|---|
ComputeTaskCancelledCheckedException(String msg,
Throwable cause)
Creates new task cancellation exception with given error message and optional nested exception.
|
ComputeTaskTimeoutCheckedException(String msg,
Throwable cause)
Creates task timeout exception with given task execution ID,
error message and optional nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean[] |
DirectMessageReader.readBooleanArray(String name)
Reads
boolean array. |
byte[] |
DirectMessageReader.readByteArray(String name)
Reads
byte array. |
char[] |
DirectMessageReader.readCharArray(String name)
Reads
char array. |
double[] |
DirectMessageReader.readDoubleArray(String name)
Reads
double array. |
float[] |
DirectMessageReader.readFloatArray(String name)
Reads
float array. |
int[] |
DirectMessageReader.readIntArray(String name)
Reads
int array. |
long[] |
DirectMessageReader.readLongArray(String name)
Reads
long array. |
<T extends Message> |
DirectMessageReader.readMessage(String name)
Reads nested message.
|
short[] |
DirectMessageReader.readShortArray(String name)
Reads
short array. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DirectMessageWriter.writeBooleanArray(String name,
boolean[] val)
Writes
boolean array. |
boolean |
DirectMessageWriter.writeByteArray(String name,
byte[] val)
Writes
byte array. |
boolean |
DirectMessageWriter.writeCharArray(String name,
char[] val)
Writes
char array. |
boolean |
DirectMessageWriter.writeDoubleArray(String name,
double[] val)
Writes
double array. |
boolean |
DirectMessageWriter.writeFloatArray(String name,
float[] val)
Writes
float array. |
boolean |
DirectMessageWriter.writeIntArray(String name,
int[] val)
Writes
int array. |
boolean |
DirectMessageWriter.writeLongArray(String name,
long[] val)
Writes
long array. |
boolean |
DirectMessageWriter.writeMessage(String name,
Message msg)
Writes nested message.
|
boolean |
DirectMessageWriter.writeShortArray(String name,
short[] val)
Writes
short array. |
| Modifier and Type | Method and Description |
|---|---|
void |
IgfsPathControlRequest.properties(Map<String,String> props) |
| Modifier and Type | Method and Description |
|---|---|
Runnable |
InteropProcessor.cleanupCallback()
Get stop runnable to perform cleanup when interop is not longer used.
|
static InteropProcessor |
InteropIgnition.instance(String gridName)
Get instance by environment pointer.
|
| Modifier and Type | Method and Description |
|---|---|
static InteropProcessor |
InteropIgnition.instance(String gridName)
Get instance by environment pointer.
|
static InteropProcessor |
InteropIgnition.start(String springCfgPath,
String gridName,
int factoryId,
long envPtr,
long dataPtr)
Start Ignite node in interop mode.
|
static InteropProcessor |
InteropIgnition.start(String springCfgPath,
String gridName,
int factoryId,
long envPtr,
long dataPtr)
Start Ignite node in interop mode.
|
static boolean |
InteropIgnition.stop(String gridName,
boolean cancel)
Stop single instance.
|
| Constructor and Description |
|---|
InteropException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
GridManagerAdapter.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
GridComponent.DiscoveryDataExchangeType |
GridManagerAdapter.discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
IgniteNodeValidationResult |
GridManagerAdapter.validateNode(ClusterNode 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(CollisionExternalListener lsnr) |
| Modifier and Type | Method and Description |
|---|---|
Object |
GridIoUserMessage.body() |
byte[] |
GridIoUserMessage.bodyBytes() |
IgniteUuid |
GridIoUserMessage.classLoaderId() |
GridDeployment |
GridIoUserMessage.deployment() |
String |
GridIoUserMessage.deploymentClassName() |
DeploymentMode |
GridIoUserMessage.deploymentMode() |
static GridIoPolicy |
GridIoPolicy.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
Map<UUID,IgniteUuid> |
GridIoUserMessage.loaderParticipants() |
Object |
GridIoUserMessage.topic() |
byte[] |
GridIoUserMessage.topicBytes() |
String |
GridIoUserMessage.userVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridIoManager.addUserMessageListener(Object topic,
IgniteBiPredicate<UUID,?> p) |
void |
GridIoManager.addUserMessageListener(Object topic,
IgniteBiPredicate<UUID,?> p) |
boolean |
GridIoManager.removeMessageListener(GridTopic topic,
GridMessageListener lsnr) |
boolean |
GridIoManager.removeMessageListener(Object topic,
GridMessageListener lsnr) |
void |
GridIoManager.removeUserMessageListener(Object topic,
IgniteBiPredicate<UUID,?> p) |
void |
GridIoManager.sendUserMessage(Collection<? extends ClusterNode> 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.
|
IgniteUuid |
GridDeploymentManager.getClassLoaderId(ClassLoader ldr) |
GridDeployment |
GridDeploymentPerVersionStore.getDeployment(org.apache.ignite.internal.managers.deployment.GridDeploymentMetadata meta) |
GridDeployment |
GridDeploymentStore.getDeployment(org.apache.ignite.internal.managers.deployment.GridDeploymentMetadata meta) |
GridDeployment |
GridDeploymentManager.getDeployment(IgniteUuid ldrId)
Gets any deployment by loader ID.
|
GridDeployment |
GridDeploymentStore.getDeployment(IgniteUuid ldrId)
Gets class loader based on ID.
|
GridDeployment |
GridDeploymentManager.getDeployment(String rsrcName) |
GridDeployment |
GridDeploymentManager.getGlobalDeployment(DeploymentMode depMode,
String rsrcName,
String clsName,
String userVer,
UUID sndNodeId,
IgniteUuid clsLdrId,
Map<UUID,IgniteUuid> participants,
IgnitePredicate<ClusterNode> nodeFilter) |
GridDeployment |
GridDeploymentManager.getLocalDeployment(String rsrcName) |
<T> T |
GridDeployment.newInstance(Class<T> cls) |
Map<UUID,IgniteUuid> |
GridDeployment.participants() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDeploymentStore.explicitUndeploy(UUID nodeId,
String rsrcName) |
Map<String,Class<? extends ComputeTask<?,?>>> |
GridDeploymentManager.findAllTasks(IgnitePredicate<? super Class<? extends ComputeTask<?,?>>>... p) |
GridDeployment |
GridDeploymentManager.getGlobalDeployment(DeploymentMode depMode,
String rsrcName,
String clsName,
String userVer,
UUID sndNodeId,
IgniteUuid clsLdrId,
Map<UUID,IgniteUuid> participants,
IgnitePredicate<ClusterNode> nodeFilter) |
boolean |
GridDeployment.internalTask(ComputeTask task,
Class<?> taskCls)
Checks whether task class is annotated with
GridInternal. |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
DiscoveryCustomMessage.ackMessage()
Called when custom message has been handled by all nodes.
|
ClusterNode |
GridDiscoveryManager.node(UUID nodeId) |
Collection<ClusterNode> |
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<ClusterNode> |
GridDiscoveryManager.aliveCacheNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given name.
|
Collection<ClusterNode> |
GridDiscoveryManager.aliveRemoteCacheNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache remote nodes for cache with given name.
|
Collection<ClusterNode> |
GridDiscoveryManager.cacheAffinityNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given name that participate in affinity calculation.
|
Collection<ClusterNode> |
GridDiscoveryManager.cacheNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given name.
|
boolean |
GridDiscoveryManager.hasNearCache(String cacheName,
AffinityTopologyVersion topVer)
Checks if cache with given name has at least one node with near cache enabled.
|
Collection<ClusterNode> |
GridDiscoveryManager.nodes(Collection<UUID> ids,
IgnitePredicate<UUID>... p)
Gets collection of node for given node IDs and predicates.
|
Collection<ClusterNode> |
GridDiscoveryManager.remoteCacheNodes(String cacheName,
AffinityTopologyVersion 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(IgnitePredicate<? extends Event> lsnr,
int... types)
Removes user listener for specified events, if any.
|
<T extends Event> |
GridEventStorageManager.waitForEvent(IgnitePredicate<T> p,
int... types) |
<T extends Event> |
GridEventStorageManager.waitForEvent(IgnitePredicate<T> p,
int... types) |
Event |
GridEventStorageManager.waitForEvent(long timeout,
Runnable c,
IgnitePredicate<? super Event> p,
int... types) |
Event |
GridEventStorageManager.waitForEvent(long timeout,
Runnable c,
IgnitePredicate<? super Event> p,
int... types) |
| 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)
Gets raw iterator over space entries.
|
byte[] |
GridSwapSpaceManager.read(String spaceName,
SwapKey key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.readValue(String spaceName,
SwapKey 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)
Gets raw iterator over space entries.
|
byte[] |
GridSwapSpaceManager.read(String spaceName,
SwapKey key,
ClassLoader ldr)
Reads value from swap.
|
byte[] |
GridSwapSpaceManager.read(String spaceName,
SwapKey key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.readValue(String spaceName,
SwapKey key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.readValue(String spaceName,
SwapKey key,
ClassLoader ldr)
Reads value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
Object key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
Object key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
Object key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
long |
GridSwapSpaceManager.swapKeys(String spaceName)
Gets number of swap entries (keys).
|
long |
GridSwapSpaceManager.swapKeys(String spaceName,
Set<Integer> parts)
Gets number of swap entries for given partitions.
|
long |
GridSwapSpaceManager.swapSize(String spaceName)
Gets size in bytes for swap space.
|
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.
|
void |
GridSwapSpaceManager.write(String spaceName,
SwapKey key,
byte[] val,
ClassLoader ldr)
Writes value to swap.
|
void |
GridSwapSpaceManager.write(String spaceName,
SwapKey key,
byte[] val,
ClassLoader ldr)
Writes value to swap.
|
<K,V> void |
GridSwapSpaceManager.writeAll(String spaceName,
Map<SwapKey,byte[]> batch,
ClassLoader ldr)
Writes batch to swap.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
GridProcessorAdapter.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
GridComponent.DiscoveryDataExchangeType |
GridProcessorAdapter.discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
IgniteNodeValidationResult |
GridProcessorAdapter.validateNode(ClusterNode 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.
|
DiscoveryEvent |
GridAffinityFunctionContextImpl.discoveryEvent()
Gets discovery event caused topology change.
|
<K> ClusterNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key)
Maps single key to a node.
|
<K> ClusterNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key,
AffinityTopologyVersion topVer)
Maps single key to a node.
|
List<ClusterNode> |
GridAffinityFunctionContextImpl.previousAssignment(int part)
Gets affinity assignment for given partition on previous topology version.
|
IgniteInternalFuture<AffinityTopologyVersion> |
GridAffinityAssignmentCache.readyFuture(AffinityTopologyVersion topVer)
Gets future that will be completed after topology with version
topVer is calculated. |
| 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<ClusterNode,Collection<K>> |
GridAffinityProcessor.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
Maps keys to nodes for given cache.
|
<K> Map<ClusterNode,Collection<K>> |
GridAffinityProcessor.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
Maps keys to nodes for given cache.
|
<K> ClusterNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key)
Maps single key to a node.
|
<K> ClusterNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key,
AffinityTopologyVersion topVer)
Maps single key to a node.
|
<K> List<ClusterNode> |
GridAffinityProcessor.mapKeyToPrimaryAndBackups(String cacheName,
K key)
Map single key to primary and backup nodes.
|
<K> List<ClusterNode> |
GridAffinityProcessor.mapKeyToPrimaryAndBackups(String cacheName,
K key,
AffinityTopologyVersion topVer)
Map single key to primary and backup nodes.
|
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
DynamicCacheChangeBatch.ackMessage()
Called when custom message has been handled by all nodes.
|
GridCacheMvccCandidate |
GridCacheMvcc.addLocal(GridCacheEntryEx parent,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle) |
GridCacheMvccCandidate |
GridCacheMvcc.addLocal(GridCacheEntryEx parent,
UUID nearNodeId,
GridCacheVersion nearVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean dhtLoc) |
<T> T |
CacheEvictableEntryImpl.addMeta(T val)
Adds a new metadata.
|
<V> V |
GridCacheEntryEx.addMeta(UUID name,
V val)
Adds a new metadata.
|
<V1> V1 |
GridCacheMapEntry.addMeta(UUID name,
V1 val)
Adds a new metadata.
|
IgniteInternalFuture<?> |
GridCachePartitionExchangeManager.affinityReadyFuture(AffinityTopologyVersion ver) |
IgniteInternalFuture<AffinityTopologyVersion> |
GridCacheAffinityManager.affinityReadyFuturex(AffinityTopologyVersion topVer)
Gets affinity ready future that will be completed after affinity with given topology version is calculated.
|
GridCacheMvccCandidate |
GridCacheMvcc.anyOwner() |
protected <T> IgniteInternalFuture<T> |
GridCacheAdapter.asyncOpAcquire()
Tries to acquire asynchronous operations permit, if limited.
|
IgniteInternalFuture<?> |
GridCacheMvccManager.atomicFuture(GridCacheVersion futVer)
Gets future by given future ID.
|
GridCacheMvccCandidate |
GridCacheMapEntry.candidate(GridCacheVersion ver)
Gets lock candidate for given lock ID.
|
GridCacheMvccCandidate |
GridCacheMvcc.candidate(GridCacheVersion ver)
Gets candidate for lock ID.
|
GridCacheMvccCandidate |
GridCacheEntryEx.candidate(GridCacheVersion ver)
Gets lock candidate for given lock ID.
|
GridCacheMvccCandidate |
GridCacheExplicitLockSpan.candidate(KeyCacheObject key,
GridCacheVersion ver)
Gets explicit lock candidate for given key.
|
GridCacheMvccCandidate |
GridCacheEntryEx.candidate(UUID nodeId,
long threadId) |
Serializable |
GridCacheProcessor.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
IgniteBiTuple<Object,Exception> |
GridCacheUpdateAtomicResult.computedResult() |
GridCacheVersionConflictContext<?,?> |
GridCacheUpdateAtomicResult.conflictResolveResult() |
GridComponent.DiscoveryDataExchangeType |
GridCacheProcessor.discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
GridCacheMvccCandidate |
GridCacheMvcc.doneRemote(GridCacheVersion ver,
Collection<GridCacheVersion> pending,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback)
Sets remote candidate to done.
|
CacheOperationContext |
GridCacheGateway.enter(CacheOperationContext opCtx) |
CacheOperationContext |
GridCacheGateway.enterNoLock(CacheOperationContext opCtx) |
Map<KeyCacheObject,GridCacheVersion> |
IgniteCacheExpiryPolicy.entries() |
Map<KeyCacheObject,GridCacheVersion> |
GridCacheAdapter.CacheExpiryPolicy.entries() |
protected GridCacheEntryEx |
GridCacheAdapter.entryExSafe(KeyCacheObject key,
AffinityTopologyVersion topVer) |
Set<javax.cache.Cache.Entry<K,V>> |
IgniteInternalCache.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition is not found locally. |
Exception |
CacheInvokeDirectResult.error() |
Object |
GridCacheAdapter.TopologyVersionAwareJob.execute()
Executes this job.
|
javax.cache.expiry.ExpiryPolicy |
GridCacheProxyImpl.expiry() |
javax.cache.expiry.ExpiryPolicy |
CacheOperationContext.expiry() |
javax.cache.expiry.ExpiryPolicy |
GridCacheContext.expiry() |
javax.cache.expiry.ExpiryPolicy |
IgniteInternalCache.expiry() |
javax.cache.expiry.ExpiryPolicy |
GridCacheAdapter.expiry() |
javax.cache.expiry.ExpiryPolicy |
GridCacheContext.expiryForTxEntry(IgniteTxEntry txEntry) |
IgniteCacheExpiryPolicy |
GridCacheAdapter.expiryPolicy(javax.cache.expiry.ExpiryPolicy plc) |
GridCacheMvccCandidate |
GridCacheMvccManager.explicitLock(KeyCacheObject key,
GridCacheVersion ver)
Gets explicit lock candidate added by any thread by given key and lock version.
|
GridCacheMvccCandidate |
GridCacheMvccManager.explicitLock(long threadId,
KeyCacheObject key)
Gets last added explicit lock candidate by thread id and key.
|
static CacheObject |
GridCacheUtils.failed(boolean err) |
static CacheObject |
GridCacheUtils.failed(boolean err,
CacheObject val) |
GridCacheMvccCandidate |
GridCacheMvcc.firstLocal() |
GridCacheMvccCandidate |
GridCacheMvcc.firstRemote() |
static GridCacheAdapter.CacheExpiryPolicy |
GridCacheAdapter.CacheExpiryPolicy.forAccess(long ttl) |
static GridCacheOperation |
GridCacheOperation.fromOrdinal(int ord) |
GridCacheFuture |
GridCacheMvccManager.future(GridCacheVersion ver,
IgniteUuid futId)
Gets future for given future ID and lock ID.
|
V |
GridCacheProxyImpl.get(K key)
Retrieves value mapped to the specified key from cache.
|
V |
IgniteInternalCache.get(K key)
Retrieves value mapped to the specified key from cache.
|
V |
GridCacheAdapter.get(K key)
Retrieves value mapped to the specified key from cache.
|
V |
GridCacheAdapter.get(K key,
boolean deserializePortable) |
Map<K,V> |
GridCacheProxyImpl.getAllOutTx(Set<? extends K> keys)
Gets values from cache.
|
Map<K,V> |
GridCacheAdapter.getAllOutTx(Set<? extends K> keys)
Gets values from cache.
|
IgniteInternalFuture<Map<K,V>> |
GridCacheProxyImpl.getAllOutTxAsync(Set<? extends K> keys)
Gets values from cache.
|
V |
GridCacheProxyImpl.getAndPut(K key,
V val)
Stores given key-value pair in cache.
|
V |
IgniteInternalCache.getAndPut(K key,
V val)
Stores given key-value pair in cache.
|
V |
GridCacheAdapter.getAndPut(K key,
V val,
CacheEntryPredicate[] filter) |
V |
GridCacheProxyImpl.getAndPutIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
IgniteCacheProxy.getAndPutIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
IgniteInternalCache.getAndPutIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
GridCacheAdapter.getAndPutIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
GridCacheProxyImpl.getAndRemove(K key)
Removes given key mapping from cache.
|
V |
IgniteInternalCache.getAndRemove(K key)
Removes given key mapping from cache.
|
V |
GridCacheAdapter.getAndRemove(K key)
Removes given key mapping from cache.
|
V |
GridCacheProxyImpl.getAndReplace(K key,
V val)
Stores given key-value pair in cache only if there is a previous mapping for it.
|
V |
IgniteInternalCache.getAndReplace(K key,
V val)
Stores given key-value pair in cache only if there is a previous mapping for it.
|
V |
GridCacheAdapter.getAndReplace(K key,
V val)
Stores given key-value pair in cache only if there is a previous mapping for it.
|
ClassLoader |
GridCacheDeploymentManager.getClassLoader(IgniteUuid ldrId) |
IgniteUuid |
GridCacheDeploymentManager.getClassLoaderId(ClassLoader ldr) |
GridCacheMapEntry |
GridCacheConcurrentMap.getEntry(Object key)
Returns the entry associated with the specified key in the
HashMap.
|
V |
IgniteInternalCache.getForcePrimary(K key)
Gets value from cache.
|
static IgniteBiTuple<byte[],Byte> |
GridCacheSwapEntryImpl.getValue(byte[] bytes) |
GridDeploymentInfoBean |
GridCacheDeploymentManager.globalDeploymentInfo() |
GridCacheEntryInfo |
GridCacheMapEntry.info() |
GridCacheEntryInfo |
GridCacheEntryEx.info() |
CacheObject |
GridCacheMapEntry.innerGet(IgniteInternalTx tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
boolean tmp,
UUID subjId,
Object transformClo,
String taskName,
IgniteCacheExpiryPolicy expirePlc) |
CacheObject |
GridCacheEntryEx.innerGet(IgniteInternalTx tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
boolean tmp,
UUID subjId,
Object transformClo,
String taskName,
IgniteCacheExpiryPolicy expiryPlc) |
CacheObject |
GridCacheMapEntry.innerReload()
Reloads entry from underlying storage.
|
CacheObject |
GridCacheEntryEx.innerReload()
Reloads entry from underlying storage.
|
<T> javax.cache.processor.EntryProcessorResult<T> |
IgniteInternalCache.invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
GridCloseableIterator<Map.Entry<byte[],GridCacheSwapEntry>> |
GridCacheSwapManager.iterator(int part)
Gets offheap and swap iterator over partition.
|
IgniteUuid |
GridCacheSwapEntryImpl.keyClassLoaderId() |
IgniteUuid |
GridCacheSwapEntry.keyClassLoaderId() |
IgniteUuid |
GridCacheOffheapSwapEntry.keyClassLoaderId() |
AffinityTopologyVersion |
GridCacheMvccManager.lastExplicitLockTopologyVersion(long threadId) |
V |
CacheStoreBalancingWrapper.load(K key) |
GridCacheMvccCandidate |
GridCacheMvcc.localCandidate(long threadId)
Gets candidate for lock ID.
|
GridCacheMvccCandidate |
GridCacheEntryEx.localCandidate(long threadId) |
GridCacheMvccCandidate |
GridCacheMvcc.localCandidate(UUID nodeId,
long threadId)
Near local candidate.
|
protected abstract Object |
GridCacheAdapter.TopologyVersionAwareJob.localExecute(IgniteInternalCache cache) |
GridCacheMvccCandidate |
GridCacheMvcc.localOwner() |
GridCacheMvccCandidate |
GridCacheEntryEx.localOwner() |
V |
IgniteCacheProxy.localPeek(K key,
CachePeekMode... peekModes)
Peeks at in-memory cached value using default optinal peek mode.
|
V |
GridCacheProxyImpl.localPeek(K key,
CachePeekMode[] peekModes,
IgniteCacheExpiryPolicy plc) |
V |
IgniteInternalCache.localPeek(K key,
CachePeekMode[] peekModes,
IgniteCacheExpiryPolicy plc) |
V |
GridCacheAdapter.localPeek(K key,
CachePeekMode[] peekModes,
IgniteCacheExpiryPolicy plc) |
GridCacheMvccCandidate |
GridCacheMvcc.markOwned(GridCacheVersion baseVer,
GridCacheVersion owned)
Puts owned versions in front of base.
|
protected List<byte[]> |
GridCacheMessage.marshalCollection(Collection<?> col,
GridCacheSharedContext ctx) |
protected byte[][] |
GridCacheMessage.marshalInvokeArguments(Object[] args,
GridCacheSharedContext ctx) |
<T> T |
CacheEvictableEntryImpl.meta()
Gets metadata added by eviction policy.
|
<V> V |
GridCacheEntryEx.meta(UUID name)
Gets metadata by name.
|
<V1> V1 |
GridCacheMapEntry.meta(UUID name)
Gets metadata by name.
|
protected GridCacheMvcc |
GridCacheMapEntry.mvccExtras() |
CacheObject |
GridCacheUpdateAtomicResult.newValue() |
ClusterNode |
GridCacheContext.node(UUID nodeId) |
protected GridCacheVersion |
GridCacheMapEntry.obsoleteVersionExtras() |
GridCloseableIterator<Map.Entry<byte[],GridCacheSwapEntry>> |
GridCacheSwapManager.offHeapIterator(int part)
Gets offheap iterator over partition.
|
static ClusterNode |
GridCacheUtils.oldest(Collection<ClusterNode> nodes) |
static ClusterNode |
GridCacheUtils.oldestAliveCacheServerNode(GridCacheSharedContext ctx,
AffinityTopologyVersion topVer)
Gets oldest alive server node with at least one cache configured for specified topology version.
|
CacheObject |
GridCacheUpdateTxResult.oldValue() |
CacheObject |
GridCacheUpdateAtomicResult.oldValue() |
GridCacheMvccCandidate |
GridCacheMvcc.orderCompleted(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers)
Moves completed candidates right before the base one.
|
IgniteInternalFuture<?> |
GridCacheProcessor.orderedPreloadFuture(int order)
Gets preload finish future for preload-ordered cache with given order.
|
GridCacheVersion |
GridCacheMvccCandidate.ownerVersion() |
V |
CacheEvictableEntryImpl.peek() |
CacheObject |
GridCacheMapEntry.peek(boolean heap,
boolean offheap,
boolean swap,
AffinityTopologyVersion topVer,
IgniteCacheExpiryPolicy expiryPlc)
Peeks into entry without loading value or updating statistics.
|
CacheObject |
GridCacheEntryEx.peek(boolean heap,
boolean offheap,
boolean swap,
AffinityTopologyVersion topVer,
IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
CacheObject |
GridCacheMapEntry.peek(boolean heap,
boolean offheap,
boolean swap,
IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
CacheObject |
GridCacheEntryEx.peek(boolean heap,
boolean offheap,
boolean swap,
IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
GridCacheEntryEx |
GridCacheAdapter.peekEx(KeyCacheObject key) |
GridCacheEntryEx |
GridCacheAdapter.peekEx(Object key) |
CacheObject |
GridCacheMapEntry.peekVisibleValue()
Peeks value provided to public API entries and to entry filters.
|
CacheObject |
GridCacheEntryEx.peekVisibleValue()
Peeks value provided to public API entries and to entry filters.
|
protected CacheObject |
CacheEntryPredicateAdapter.peekVisibleValue(GridCacheEntryEx entry) |
ClusterNode |
GridCacheAffinityManager.primary(int part,
AffinityTopologyVersion topVer) |
ClusterNode |
GridCacheAffinityManager.primary(Object key,
AffinityTopologyVersion topVer) |
static ClusterNode |
GridCacheUtils.primaryNode(GridCacheContext ctx,
Object key)
Gets primary node on which given key is cached.
|
V |
GridCacheAdapter.promote(K key,
boolean deserializePortable) |
<K,V> IgniteCacheProxy<K,V> |
GridCacheProcessor.publicJCache(String cacheName,
boolean failIfNotStarted) |
<T> T |
CacheEvictableEntryImpl.putMetaIfAbsent(T val)
Adds given metadata value only if it was absent.
|
<V> V |
GridCacheEntryEx.putMetaIfAbsent(UUID name,
V val)
Adds given metadata value only if it was absent.
|
<V1> V1 |
GridCacheMapEntry.putMetaIfAbsent(UUID name,
V1 val)
Adds given metadata value only if it was absent.
|
javax.cache.Cache.Entry<K,V> |
IgniteCacheProxy.randomEntry()
Gets a random entry out of cache.
|
GridCacheMapEntry |
GridCacheConcurrentMap.randomEntry() |
javax.cache.Cache.Entry<K,V> |
GridCacheAdapter.randomEntry() |
CacheObject |
GridCacheMapEntry.rawGetOrUnmarshal(boolean tmp) |
CacheObject |
GridCacheMapEntry.rawGetOrUnmarshalUnlocked(boolean tmp) |
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridCacheSwapManager.rawIterator()
Gets offheap and swap iterator over partition.
|
GridCacheSwapEntry |
GridCacheSwapManager.read(KeyCacheObject key,
boolean readOffheap,
boolean readSwap) |
static <K,V> CacheEntryPredicate[] |
GridCacheUtils.readEntryFilterArray(ObjectInput in)
Reads array from input stream.
|
Map<UUID,Collection<IgniteBiTuple<KeyCacheObject,GridCacheVersion>>> |
IgniteCacheExpiryPolicy.readers() |
Map<UUID,Collection<IgniteBiTuple<KeyCacheObject,GridCacheVersion>>> |
GridCacheAdapter.CacheExpiryPolicy.readers() |
protected Object |
GridCacheMapEntry.readThrough(IgniteInternalTx tx,
KeyCacheObject key,
boolean reload,
UUID subjId,
String taskName) |
static GridCacheVersion |
GridCacheUtils.readVersion(ObjectInput in)
Reads
GridCacheVersion from input stream. |
GridCacheMvccCandidate |
GridCacheMvcc.readyLocal(GridCacheMvccCandidate cand) |
GridCacheMvccCandidate |
GridCacheMvcc.readyLocal(GridCacheVersion ver) |
GridCacheMvccCandidate |
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 |
GridCacheMvcc.recheck()
Checks if lock should be assigned.
|
GridCacheMvccCandidate |
GridCacheMvcc.releaseLocal()
Local local release.
|
GridCacheMvccCandidate |
GridCacheMvcc.releaseLocal(long threadId)
Local release.
|
GridCacheMvccCandidate |
GridCacheMvcc.remoteCandidate(UUID nodeId,
long threadId) |
GridCacheMvccCandidate |
GridCacheMvcc.remoteOwner() |
GridCacheMvccCandidate |
GridCacheMvcc.remove(GridCacheVersion ver)
Removes lock even if it is not owner.
|
IgniteInternalFuture<?> |
GridCacheMvccManager.removeAtomicFuture(GridCacheVersion futVer) |
GridCacheMapEntry |
GridCacheConcurrentMap.removeEntryIfObsolete(KeyCacheObject key)
Removes and returns the entry associated with the specified key
in the HashMap if entry is obsolete.
|
GridCacheMvccCandidate |
GridCacheMvcc.removeExplicitNodeCandidates(UUID nodeId)
Removes all candidates for node.
|
<T> T |
CacheEvictableEntryImpl.removeMeta()
Removes metadata by name.
|
<V> V |
GridCacheEntryEx.removeMeta(UUID name)
Removes metadata by name.
|
<V1> V1 |
GridCacheMapEntry.removeMeta(UUID name)
Removes metadata by name.
|
GridCacheVersion |
GridCacheUpdateAtomicResult.removeVersion() |
Collection<CacheStoreSessionListener> |
GridCacheSharedContext.storeSessionListeners() |
UUID |
CacheOperationContext.subjectId()
Gets client ID for which this projection was created.
|
GridCloseableIterator<Map.Entry<byte[],GridCacheSwapEntry>> |
GridCacheSwapManager.swapIterator(int part)
Gets swap space iterator over partition.
|
CacheObject |
GridCacheContext.toCacheObject(Object obj) |
AffinityTopologyVersion |
GridCacheExplicitLockSpan.topologyVersion()
Gets actual topology snapshot for thread lock span.
|
V |
GridCacheAdapter.tryPutIfAbsent(K key,
V val)
Tries to put value in cache.
|
Transaction |
IgniteInternalCache.tx()
Gets transaction started by this thread or
null if this thread does
not have a transaction. |
Transaction |
GridCacheAdapter.tx()
Gets transaction started by this thread or
null if this thread does
not have a transaction. |
GridCacheMvccCandidate |
GridCacheMvccCandidate.unenter() |
protected <T> List<T> |
GridCacheMessage.unmarshalCollection(Collection<byte[]> byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
protected Object[] |
GridCacheMessage.unmarshalInvokeArguments(byte[][] byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
static String |
GridCacheUtils.unmask(String cacheName)
Unmask cache name.
|
GridUnsafeMemory |
GridCacheContext.unsafeMemory() |
CacheObject |
GridCacheEntryEx.unswap() |
CacheObject |
GridCacheMapEntry.unswap(boolean needVal)
Unswaps an entry.
|
CacheObject |
GridCacheEntryEx.unswap(boolean needVal)
Unswap ignoring flags.
|
CacheObject |
GridCacheContext.unswapCacheObject(byte type,
byte[] bytes,
IgniteUuid clsLdrId) |
<T> T |
GridCacheContext.unwrapTemporary(Object obj)
Converts temporary offheap object to heap-based.
|
IgniteNodeValidationResult |
GridCacheProcessor.validateNode(ClusterNode node)
Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.
|
<V> V |
GridCacheReturn.value() |
<T> T |
KeyCacheObjectImpl.value(CacheObjectContext ctx,
boolean cpy) |
<T> T |
CacheObject.value(CacheObjectContext ctx,
boolean cpy) |
<T> T |
CacheObjectImpl.value(CacheObjectContext ctx,
boolean cpy) |
<T> T |
CacheObjectByteArrayImpl.value(CacheObjectContext ctx,
boolean cpy) |
static <T> T |
GridCacheUtils.value(CacheObject cacheObj,
GridCacheContext ctx,
boolean cpy) |
CacheObject |
GridCacheMapEntry.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
CacheObject |
GridCacheEntryEx.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
IgniteUuid |
GridCacheSwapEntryImpl.valueClassLoaderId() |
IgniteUuid |
GridCacheSwapEntry.valueClassLoaderId() |
IgniteUuid |
GridCacheOffheapSwapEntry.valueClassLoaderId() |
String |
GridCacheSharedContext.verifyTxCompatibility(IgniteInternalTx tx,
Iterable<Integer> activeCacheIds,
GridCacheContext<K,V> cacheCtx) |
Object |
CacheVersionedEntryImpl.version() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheReturn.addEntryProcessResult(GridCacheContext cctx,
KeyCacheObject key,
Object key0,
Object res,
Exception err) |
void |
GridCacheReturn.addEntryProcessResult(GridCacheContext cctx,
KeyCacheObject key,
Object key0,
Object res,
Exception err) |
void |
GridCacheReturn.addEntryProcessResult(GridCacheContext cctx,
KeyCacheObject key,
Object key0,
Object res,
Exception err) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
IgniteInternalTx tx,
GridCacheMvccCandidate owner,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
IgniteInternalTx tx,
GridCacheMvccCandidate owner,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
IgniteInternalTx tx,
GridCacheMvccCandidate owner,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
GridCacheMvccCandidate owner,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
GridCacheMvccCandidate owner,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
IgniteUuid xid,
Object lockId,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
IgniteUuid xid,
Object lockId,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
IgniteUuid xid,
Object lockId,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
IgniteUuid xid,
Object lockId,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
IgniteUuid xid,
Object lockId,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
void |
GridCacheEventManager.addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
IgniteUuid xid,
Object lockId,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName) |
GridCacheMvccCandidate |
GridCacheMvcc.addLocal(GridCacheEntryEx parent,
UUID nearNodeId,
GridCacheVersion nearVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean dhtLoc) |
GridCacheMvccCandidate |
GridCacheMvcc.addLocal(GridCacheEntryEx parent,
UUID nearNodeId,
GridCacheVersion nearVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean dhtLoc) |
GridCacheMvccCandidate |
GridCacheMvcc.addNearLocal(GridCacheEntryEx parent,
UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle)
Adds new near local lock candidate.
|
GridCacheMvccCandidate |
GridCacheMvcc.addRemote(GridCacheEntryEx 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).
|
void |
GridCacheEvictionManager.batchEvict(Collection<?> keys,
GridCacheVersion obsoleteVer) |
<K,V> IgniteInternalCache<K,V> |
GridCacheProcessor.cache(String name) |
boolean |
GridCacheContext.cancelRemove(IgniteBiTuple<Boolean,?> interceptorRes) |
GridCacheMvccCandidate |
GridCacheExplicitLockSpan.candidate(KeyCacheObject key,
GridCacheVersion ver)
Gets explicit lock candidate for given key.
|
static void |
GridCacheUtils.checkAttributeMismatch(IgniteLogger log,
String cfgName,
UUID rmtNodeId,
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(IgniteLogger log,
String cfgName,
UUID rmtNodeId,
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.
|
boolean |
GridCacheMapEntry.clear(GridCacheVersion ver,
boolean readers,
CacheEntryPredicate[] filter)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
boolean |
GridCacheEntryEx.clear(GridCacheVersion ver,
boolean readers,
CacheEntryPredicate[] filter)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
void |
GridCacheAdapter.clearLocally0(Collection<? extends K> keys,
CacheEntryPredicate... filter) |
boolean |
GridCacheAdapter.clearLocally0(K key,
CacheEntryPredicate... filter) |
GridCacheMapEntry |
GridCacheMapEntryFactory.create(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val,
GridCacheMapEntry next,
int hdrId) |
boolean |
GridCacheContext.dhtMap(UUID nearNodeId,
AffinityTopologyVersion topVer,
GridDhtCacheEntry entry,
GridCacheVersion explicitLockVer,
IgniteLogger log,
Map<ClusterNode,List<GridDhtCacheEntry>> dhtMap,
Map<ClusterNode,List<GridDhtCacheEntry>> nearMap) |
IgniteInternalFuture<?> |
GridCacheProcessor.dynamicStartCache(CacheConfiguration ccfg,
String cacheName,
NearCacheConfiguration nearCfg,
boolean failIfExists)
Dynamically starts cache.
|
IgniteInternalFuture<?> |
GridCacheProcessor.dynamicStartCache(CacheConfiguration ccfg,
String cacheName,
NearCacheConfiguration nearCfg,
boolean failIfExists)
Dynamically starts cache.
|
IgniteInternalFuture<?> |
GridCacheProcessor.dynamicStartCache(CacheConfiguration ccfg,
String cacheName,
NearCacheConfiguration nearCfg,
CacheType cacheType,
boolean failIfExists)
Dynamically starts cache.
|
IgniteInternalFuture<?> |
GridCacheProcessor.dynamicStartCache(CacheConfiguration ccfg,
String cacheName,
NearCacheConfiguration nearCfg,
CacheType cacheType,
boolean failIfExists)
Dynamically starts cache.
|
CacheOperationContext |
GridCacheGateway.enter(CacheOperationContext opCtx) |
CacheOperationContext |
GridCacheGateway.enterNoLock(CacheOperationContext opCtx) |
Set<javax.cache.Cache.Entry<K,V>> |
GridCacheAdapter.entrySet(CacheEntryPredicate... filter) |
boolean |
GridCacheEvictionManager.evict(GridCacheEntryEx entry,
GridCacheVersion obsoleteVer,
boolean explicit,
CacheEntryPredicate[] filter) |
boolean |
GridCacheEvictionManager.evict(GridCacheEntryEx entry,
GridCacheVersion obsoleteVer,
boolean explicit,
CacheEntryPredicate[] filter) |
boolean |
GridCacheEvictionManager.evict(GridCacheEntryEx entry,
GridCacheVersion obsoleteVer,
boolean explicit,
CacheEntryPredicate[] filter) |
void |
GridCacheProxyImpl.evictAll(Collection<? extends K> keys)
Attempts to evict all entries associated with keys.
|
void |
IgniteInternalCache.evictAll(Collection<? extends K> keys)
Attempts to evict all entries associated with keys.
|
boolean |
GridCacheMapEntry.evictInternal(boolean swap,
GridCacheVersion obsoleteVer,
CacheEntryPredicate[] filter) |
boolean |
GridCacheEntryEx.evictInternal(boolean swap,
GridCacheVersion obsoleteVer,
CacheEntryPredicate[] filter) |
IgniteCacheExpiryPolicy |
GridCacheAdapter.expiryPolicy(javax.cache.expiry.ExpiryPolicy plc) |
GridCacheMvccCandidate |
GridCacheMvccManager.explicitLock(KeyCacheObject key,
GridCacheVersion ver)
Gets explicit lock candidate added by any thread by given key and lock version.
|
protected void |
GridCacheMessage.finishUnmarshalCacheObjects(Collection<? extends CacheObject> col,
GridCacheContext ctx,
ClassLoader ldr) |
protected void |
GridCacheMessage.finishUnmarshalCacheObjects(List<? extends CacheObject> col,
GridCacheContext ctx,
ClassLoader ldr) |
void |
GridCacheAdapter.FutureHolder.future(IgniteInternalFuture fut)
Sets future.
|
Map<K,V> |
GridCacheProxyImpl.getAll(Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
Map<K,V> |
IgniteInternalCache.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.
|
IgniteInternalFuture<Map<K,V>> |
GridCacheProxyImpl.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
IgniteInternalFuture<Map<K,V>> |
IgniteInternalCache.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean deserializePortable) |
protected IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
protected IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
protected IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean readThrough,
GridCacheEntryEx cached,
boolean checkTx,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean forcePrimary,
IgniteCacheExpiryPolicy expiry,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean readThrough,
GridCacheEntryEx cached,
boolean checkTx,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean forcePrimary,
IgniteCacheExpiryPolicy expiry,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean readThrough,
GridCacheEntryEx cached,
boolean checkTx,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean forcePrimary,
IgniteCacheExpiryPolicy expiry,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean readThrough,
GridCacheEntryEx cached,
boolean checkTx,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean forcePrimary,
IgniteCacheExpiryPolicy expiry,
boolean skipVals) |
<K1,V1> IgniteInternalFuture<Map<K1,V1>> |
GridCacheAdapter.getAllAsync0(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean checkTx,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiry,
boolean skipVals,
boolean keepCacheObjects) |
<K1,V1> IgniteInternalFuture<Map<K1,V1>> |
GridCacheAdapter.getAllAsync0(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean checkTx,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiry,
boolean skipVals,
boolean keepCacheObjects) |
<K1,V1> IgniteInternalFuture<Map<K1,V1>> |
GridCacheAdapter.getAllAsync0(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean checkTx,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiry,
boolean skipVals,
boolean keepCacheObjects) |
V |
GridCacheAdapter.getAndPut(K key,
V val,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<V> |
GridCacheAdapter.getAndPutAsync(K key,
V val,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<V> |
GridCacheAdapter.getAndPutAsync0(K key,
V val,
CacheEntryPredicate... filter) |
IgniteUuid |
GridCacheDeploymentManager.getClassLoaderId(ClassLoader ldr) |
<K,V> IgniteInternalCache<K,V> |
GridCacheProcessor.getOrStartCache(String name) |
CacheObject |
GridCacheMapEntry.innerGet(IgniteInternalTx tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
boolean tmp,
UUID subjId,
Object transformClo,
String taskName,
IgniteCacheExpiryPolicy expirePlc) |
CacheObject |
GridCacheMapEntry.innerGet(IgniteInternalTx tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
boolean tmp,
UUID subjId,
Object transformClo,
String taskName,
IgniteCacheExpiryPolicy expirePlc) |
CacheObject |
GridCacheEntryEx.innerGet(IgniteInternalTx tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
boolean tmp,
UUID subjId,
Object transformClo,
String taskName,
IgniteCacheExpiryPolicy expiryPlc) |
CacheObject |
GridCacheEntryEx.innerGet(IgniteInternalTx tx,
boolean readSwap,
boolean readThrough,
boolean failFast,
boolean unmarshal,
boolean updateMetrics,
boolean evt,
boolean tmp,
UUID subjId,
Object transformClo,
String taskName,
IgniteCacheExpiryPolicy expiryPlc) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
CacheEntryPredicate[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
<K,V> GridCacheAdapter<K,V> |
GridCacheProcessor.internalCache(String name) |
boolean |
GridCacheMapEntry.invalidate(CacheEntryPredicate[] filter)
Invalidates this entry if it passes given filter.
|
boolean |
GridCacheEntryEx.invalidate(CacheEntryPredicate[] filter)
Invalidates this entry if it passes given filter.
|
boolean |
GridCacheMapEntry.invalidate(GridCacheVersion curVer,
GridCacheVersion newVer)
Invalidates this entry.
|
boolean |
GridCacheEntryEx.invalidate(GridCacheVersion curVer,
GridCacheVersion newVer)
Invalidates this entry.
|
<E> boolean |
GridCacheContext.isAll(E e,
IgnitePredicate<? super E>[] p)
Same as
GridFunc.isAll(Object, IgnitePredicate[]), but safely unwraps exceptions. |
<K1,V1> boolean |
GridCacheContext.isAll(GridCacheEntryEx e,
IgnitePredicate<javax.cache.Cache.Entry<K1,V1>>[] p)
Same as
GridFunc.isAll(Object, IgnitePredicate[]), but safely unwraps exceptions. |
static boolean |
GridCacheUtils.isAlwaysFalse0(CacheEntryPredicate[] p) |
static boolean |
GridCacheUtils.isAlwaysTrue0(CacheEntryPredicate[] p) |
static boolean |
GridCacheUtils.isIgfsCache(IgniteConfiguration cfg,
String cacheName) |
<K,V> IgniteCacheProxy<K,V> |
GridCacheProcessor.jcache(String name) |
Set<K> |
GridCacheAdapter.keySet(CacheEntryPredicate... filter) |
Set<K> |
GridCacheAdapter.keySetx(CacheEntryPredicate... filter) |
void |
IgniteCacheProxy.loadAll(Set<? extends K> keys,
boolean replaceExisting,
javax.cache.integration.CompletionListener completionLsnr) |
void |
CacheStoreBalancingWrapper.loadCache(IgniteBiInClosure<K,V> clo,
Object... args)
Loads all values from underlying persistent storage.
|
void |
IgniteCacheProxy.loadCache(IgniteBiPredicate<K,V> p,
Object... args)
Executes
IgniteCache.localLoadCache(IgniteBiPredicate, Object...) on all cache nodes. |
void |
IgniteCacheProxy.loadCache(IgniteBiPredicate<K,V> p,
Object... args)
Executes
IgniteCache.localLoadCache(IgniteBiPredicate, Object...) on all cache nodes. |
Collection<GridCacheMvccCandidate> |
GridCacheEntryEx.localCandidates(GridCacheVersion... exclude)
Gets all local candidates.
|
protected abstract Object |
GridCacheAdapter.TopologyVersionAwareJob.localExecute(IgniteInternalCache cache) |
void |
GridCacheAdapter.localLoad(Collection<? extends K> keys,
javax.cache.expiry.ExpiryPolicy plc) |
void |
IgniteCacheProxy.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
IgniteCacheProxy.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
IgniteInternalCache.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
IgniteInternalCache.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
GridCacheProxyImpl.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
IgniteInternalFuture<?> |
IgniteInternalCache.localLoadCacheAsync(IgniteBiPredicate<K,V> p,
Object... args)
Asynchronously delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
IgniteInternalFuture<?> |
IgniteInternalCache.localLoadCacheAsync(IgniteBiPredicate<K,V> p,
Object... args)
Asynchronously delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
IgniteInternalFuture<?> |
GridCacheProxyImpl.localLoadCacheAsync(IgniteBiPredicate<K,V> p,
Object[] args)
Asynchronously delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
V |
GridCacheProxyImpl.localPeek(K key,
CachePeekMode[] peekModes,
IgniteCacheExpiryPolicy plc) |
V |
IgniteInternalCache.localPeek(K key,
CachePeekMode[] peekModes,
IgniteCacheExpiryPolicy plc) |
V |
GridCacheAdapter.localPeek(K key,
CachePeekMode[] peekModes,
IgniteCacheExpiryPolicy plc) |
boolean |
GridCacheProxyImpl.lockAll(Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
boolean |
IgniteInternalCache.lockAll(Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheAdapter.lockAll(Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
IgniteInternalFuture<Boolean> |
GridCacheProxyImpl.lockAllAsync(Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
IgniteInternalFuture<Boolean> |
IgniteInternalCache.lockAllAsync(Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
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 List<byte[]> |
GridCacheMessage.marshalCollection(Collection<?> col,
GridCacheSharedContext ctx) |
protected byte[][] |
GridCacheMessage.marshalInvokeArguments(Object[] args,
GridCacheSharedContext ctx) |
protected void |
GridCacheMapEntry.mvccExtras(GridCacheMvcc mvcc) |
protected void |
GridCacheMapEntry.obsoleteVersionExtras(GridCacheVersion obsoleteVer) |
void |
GridCachePartitionExchangeManager.onExchangeDone(GridDhtPartitionsExchangeFuture exchFut,
Throwable err) |
void |
GridCachePreloaderAdapter.onInitialExchangeComplete(Throwable err)
Callback by exchange manager when initial partition exchange is complete.
|
void |
GridCachePreloader.onInitialExchangeComplete(Throwable err)
Callback by exchange manager when initial partition exchange is complete.
|
void |
GridCacheContext.operationContextPerCall(CacheOperationContext opCtx)
Sets thread local cache operation context.
|
CacheObject |
GridCacheMapEntry.peek(boolean heap,
boolean offheap,
boolean swap,
AffinityTopologyVersion topVer,
IgniteCacheExpiryPolicy expiryPlc)
Peeks into entry without loading value or updating statistics.
|
CacheObject |
GridCacheEntryEx.peek(boolean heap,
boolean offheap,
boolean swap,
AffinityTopologyVersion topVer,
IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
CacheObject |
GridCacheMapEntry.peek(boolean heap,
boolean offheap,
boolean swap,
IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
CacheObject |
GridCacheEntryEx.peek(boolean heap,
boolean offheap,
boolean swap,
IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
protected void |
GridCacheMessage.prepareMarshalCacheObjects(Collection<? extends CacheObject> col,
GridCacheContext ctx) |
protected void |
GridCacheMessage.prepareMarshalCacheObjects(List<? extends CacheObject> col,
GridCacheContext ctx) |
protected void |
GridCacheMessage.prepareObject(Object o,
GridCacheSharedContext ctx) |
Set<javax.cache.Cache.Entry<K,V>> |
GridCacheAdapter.primaryEntrySet(CacheEntryPredicate... filter) |
Set<K> |
GridCacheAdapter.primaryKeySet(CacheEntryPredicate... filter) |
void |
GridCacheProxyImpl.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
void |
IgniteInternalCache.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.
|
<K,V> IgniteInternalCache<K,V> |
GridCacheProcessor.publicCache(String name) |
<K,V> IgniteCacheProxy<K,V> |
GridCacheProcessor.publicJCache(String cacheName) |
<K,V> IgniteCacheProxy<K,V> |
GridCacheProcessor.publicJCache(String cacheName,
boolean failIfNotStarted) |
void |
GridCacheProxyImpl.putAll(Map<? extends K,? extends V> m)
Stores given key-value pairs in cache.
|
void |
IgniteInternalCache.putAll(Map<? extends K,? extends V> m)
Stores given key-value pairs in cache.
|
void |
GridCacheAdapter.putAll(Map<? extends K,? extends V> m)
Stores given key-value pairs in cache.
|
IgniteInternalFuture<?> |
GridCacheProxyImpl.putAllAsync(Map<? extends K,? extends V> m)
Asynchronously stores given key-value pairs in cache.
|
IgniteInternalFuture<?> |
IgniteInternalCache.putAllAsync(Map<? extends K,? extends V> m)
Asynchronously stores given key-value pairs in cache.
|
IgniteInternalFuture<Boolean> |
GridCacheAdapter.putAsync(K key,
V val,
CacheEntryPredicate... filter) |
IgniteInternalFuture<Boolean> |
GridCacheAdapter.putAsync0(K key,
V val,
CacheEntryPredicate... filter) |
GridCacheMapEntry |
GridCacheConcurrentMap.putEntry(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val) |
GridTriple<GridCacheMapEntry> |
GridCacheConcurrentMap.putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create) |
boolean |
GridCacheContext.putIfAbsentFilter(CacheEntryPredicate[] p) |
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridCacheSwapManager.rawOffHeapIterator(Integer part,
boolean primary,
boolean backup) |
protected Object |
GridCacheMapEntry.readThrough(IgniteInternalTx tx,
KeyCacheObject key,
boolean reload,
UUID subjId,
String taskName) |
IgniteInternalFuture<Object> |
GridCacheAdapter.readThroughAllAsync(Collection<KeyCacheObject> keys,
boolean reload,
boolean skipVals,
IgniteInternalTx tx,
UUID subjId,
String taskName,
IgniteBiInClosure<KeyCacheObject,Object> vis) |
IgniteInternalFuture<Object> |
GridCacheAdapter.readThroughAllAsync(Collection<KeyCacheObject> keys,
boolean reload,
boolean skipVals,
IgniteInternalTx tx,
UUID subjId,
String taskName,
IgniteBiInClosure<KeyCacheObject,Object> vis) |
IgniteInternalFuture<Map<KeyCacheObject,CacheObject>> |
GridCacheAdapter.reloadAllAsync0(Collection<KeyCacheObject> keys,
boolean ret,
boolean skipVals,
UUID subjId,
String taskName) |
void |
GridCacheProxyImpl.removeAll(Collection<? extends K> keys)
Removes given key mappings from cache.
|
void |
IgniteInternalCache.removeAll(Collection<? extends K> keys)
Removes given key mappings from cache.
|
IgniteInternalFuture<?> |
GridCacheProxyImpl.removeAllAsync(Collection<? extends K> keys)
Asynchronously removes given key mappings from cache for entries.
|
IgniteInternalFuture<?> |
IgniteInternalCache.removeAllAsync(Collection<? extends K> keys)
Asynchronously removes given key mappings from cache for entries.
|
IgniteInternalFuture<?> |
GridCacheAdapter.removeAllAsync(Collection<? extends K> keys)
Asynchronously removes given key mappings from cache for entries.
|
IgniteInternalFuture<Boolean> |
GridCacheAdapter.removeAsync(K key,
CacheEntryPredicate... filter) |
GridCacheMvccCandidate |
GridCacheExplicitLockSpan.removeCandidate(KeyCacheObject key,
GridCacheVersion ver)
Removes lock by key and optional version.
|
GridCacheMvccCandidate |
GridCacheMvccManager.removeExplicitLock(long threadId,
KeyCacheObject key,
GridCacheVersion ver)
Removes explicit lock for given thread id, key and optional version.
|
boolean |
GridCacheIoManager.safeSend(Collection<? extends ClusterNode> nodes,
GridCacheMessage msg,
GridIoPolicy plc,
IgnitePredicate<ClusterNode> fallback)
Sends message and automatically accounts for lefts nodes.
|
GridCacheReturn |
GridCacheReturn.set(GridCacheContext cctx,
CacheObject cacheObj,
boolean success) |
UUID |
GridCacheContext.subjectIdPerCall(UUID subjId)
Gets subject ID per call.
|
UUID |
GridCacheContext.subjectIdPerCall(UUID subjId,
CacheOperationContext opCtx)
Gets subject ID per call.
|
UUID |
GridCacheContext.subjectIdPerCall(UUID subjId,
CacheOperationContext opCtx)
Gets subject ID per call.
|
boolean |
GridCacheProcessor.systemCache(String name) |
CacheObject |
GridCacheContext.toCacheObject(Object obj) |
void |
IgniteCacheExpiryPolicy.ttlUpdated(KeyCacheObject key,
GridCacheVersion ver,
Collection<UUID> rdrs)
Callback for ttl update on entry access.
|
void |
GridCacheAdapter.CacheExpiryPolicy.ttlUpdated(KeyCacheObject key,
GridCacheVersion ver,
Collection<UUID> rdrs) |
static String |
GridCacheUtils.txString(IgniteInternalTx tx) |
void |
GridCacheProxyImpl.unlockAll(Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
void |
IgniteInternalCache.unlockAll(Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
protected <T> List<T> |
GridCacheMessage.unmarshalCollection(Collection<byte[]> byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
protected Object[] |
GridCacheMessage.unmarshalInvokeArguments(byte[][] byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
CacheObject |
GridCacheContext.unswapCacheObject(byte type,
byte[] bytes,
IgniteUuid clsLdrId) |
<T> T |
GridCacheContext.unwrapTemporary(Object obj)
Converts temporary offheap object to heap-based.
|
protected void |
GridCacheMapEntry.update(CacheObject val,
long expireTime,
long ttl,
GridCacheVersion ver) |
protected void |
GridCacheMapEntry.updateIndex(CacheObject val,
long expireTime,
GridCacheVersion ver,
CacheObject prevVal)
Updates cache index.
|
protected void |
GridCacheMapEntry.updateIndex(CacheObject val,
long expireTime,
GridCacheVersion ver,
CacheObject prevVal)
Updates cache index.
|
void |
GridCacheMapEntry.updateTtl(GridCacheVersion ver,
long ttl) |
void |
GridCacheEntryEx.updateTtl(GridCacheVersion ver,
long ttl) |
static void |
GridCacheUtils.validateCacheKey(IgniteLogger log,
Object key)
Validates that cache key object has overridden equals and hashCode methods and
implements
Externalizable. |
static void |
GridCacheUtils.validateCacheValue(IgniteLogger log,
Object val)
Validates that cache value object implements
Externalizable. |
protected void |
GridCacheMapEntry.value(CacheObject val)
Sets entry value.
|
static <T> T |
GridCacheUtils.value(CacheObject cacheObj,
GridCacheContext ctx,
boolean cpy) |
void |
GridCacheSwapEntryImpl.valueBytes(byte[] valBytes) |
void |
GridCacheSwapEntry.valueBytes(byte[] valBytes) |
CacheObject |
GridCacheMapEntry.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
CacheObject |
GridCacheEntryEx.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
boolean |
GridCacheEntryEx.versionedValue(CacheObject val,
GridCacheVersion curVer,
GridCacheVersion newVer)
Sets new value if passed in version matches the current version
(used for read-through only).
|
boolean |
GridCacheEntryEx.versionedValue(CacheObject val,
GridCacheVersion curVer,
GridCacheVersion newVer)
Sets new value if passed in version matches the current version
(used for read-through only).
|
| Constructor and Description |
|---|
CacheInvokeEntry(GridCacheContext<K,V> ctx,
KeyCacheObject keyObj,
K key,
CacheObject valObj,
V val) |
CacheInvokeEntry(GridCacheContext<K,V> ctx,
KeyCacheObject keyObj,
K key,
CacheObject valObj,
V val) |
CacheInvokeEntry(GridCacheContext<K,V> ctx,
KeyCacheObject keyObj,
K key,
CacheObject valObj,
V val) |
CacheInvokeEntry(GridCacheContext cctx,
KeyCacheObject keyObj,
CacheObject valObj) |
CacheOperationContext(boolean skipStore,
UUID subjId,
boolean keepPortable,
javax.cache.expiry.ExpiryPolicy expiryPlc) |
CacheOperationContext(boolean skipStore,
UUID subjId,
boolean keepPortable,
javax.cache.expiry.ExpiryPolicy expiryPlc) |
GridCacheBatchSwapEntry(KeyCacheObject key,
int part,
ByteBuffer valBytes,
byte type,
GridCacheVersion ver,
long ttl,
long expireTime,
IgniteUuid keyClsLdrId,
IgniteUuid valClsLdrId)
Creates batch swap entry.
|
GridCacheEntrySet(GridCacheContext<K,V> ctx,
Collection<? extends javax.cache.Cache.Entry<K,V>> c,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>... filter) |
GridCacheIndexUpdateException(String msg,
Throwable cause) |
GridCacheMvccCandidate(GridCacheEntryEx 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 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) |
GridCacheProxyImpl(GridCacheContext<K,V> ctx,
IgniteInternalCache<K,V> delegate,
CacheOperationContext opCtx) |
GridCacheSwapEntryImpl(ByteBuffer valBytes,
byte type,
GridCacheVersion ver,
long ttl,
long expireTime,
IgniteUuid keyClsLdrId,
IgniteUuid valClsLdrId) |
GridCacheSwapEntryImpl(ByteBuffer valBytes,
byte type,
GridCacheVersion ver,
long ttl,
long expireTime,
IgniteUuid keyClsLdrId,
IgniteUuid valClsLdrId) |
GridCacheUpdateAtomicResult(boolean success,
CacheObject oldVal,
CacheObject newVal,
IgniteBiTuple<Object,Exception> res,
long newTtl,
long conflictExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<?,?> conflictRes,
boolean sndToDht)
Constructor.
|
GridCacheUpdateAtomicResult(boolean success,
CacheObject oldVal,
CacheObject newVal,
IgniteBiTuple<Object,Exception> res,
long newTtl,
long conflictExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<?,?> conflictRes,
boolean sndToDht)
Constructor.
|
GridCacheUpdateAtomicResult(boolean success,
CacheObject oldVal,
CacheObject newVal,
IgniteBiTuple<Object,Exception> res,
long newTtl,
long conflictExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<?,?> conflictRes,
boolean sndToDht)
Constructor.
|
GridCacheUpdateAtomicResult(boolean success,
CacheObject oldVal,
CacheObject newVal,
IgniteBiTuple<Object,Exception> res,
long newTtl,
long conflictExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<?,?> conflictRes,
boolean sndToDht)
Constructor.
|
GridCacheUpdateAtomicResult(boolean success,
CacheObject oldVal,
CacheObject newVal,
IgniteBiTuple<Object,Exception> res,
long newTtl,
long conflictExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<?,?> conflictRes,
boolean sndToDht)
Constructor.
|
GridCacheValueCollection(GridCacheContext<K,V> ctx,
Collection<? extends javax.cache.Cache.Entry<K,V>> c,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter) |
| Modifier and Type | Method and Description |
|---|---|
ClusterNode |
GridCacheAffinityProxy.mapKeyToNode(K key)
This method provides ability to detect to which primary node the given key
is mapped.
|
ClusterNode |
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<ClusterNode,Collection<K>> |
GridCacheAffinityProxy.mapKeysToNodes(Collection<? extends K> keys)
This method provides ability to detect which keys are mapped to which nodes.
|
Map<ClusterNode,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 |
|---|---|
<T> GridCacheQueueProxy<T> |
CacheDataStructuresManager.queue(String name,
int cap,
boolean colloc,
boolean create) |
<T> GridCacheQueueProxy<T> |
CacheDataStructuresManager.queue0(String name,
int cap,
boolean colloc,
boolean create) |
<T> IgniteSet<T> |
CacheDataStructuresManager.set(String name,
boolean colloc,
boolean create) |
GridConcurrentHashSet<GridCacheSetItemKey> |
CacheDataStructuresManager.setData(IgniteUuid id) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridDistributedCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
GridCacheMvccCandidate |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
GridCacheMvccCandidate |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> pendingVers,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
Collection<UUID> |
GridDistributedTxMapping.lastBackups() |
GridCacheVersion |
GridCacheMappedVersion.mappedVersion()
Mapping should occur only if this interface returns a non-null value.
|
GridCacheMvccCandidate |
GridDistributedCacheEntry.readyLock(GridCacheVersion ver) |
GridCacheMvccCandidate |
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 |
GridDistributedCacheEntry.recheck()
Rechecks if lock should be reassigned.
|
GridCacheMvccCandidate |
GridDistributedCacheEntry.removeLock()
Unlocks local lock.
|
CacheObject |
GridDistributedLockResponse.value(int idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDistributedTxPrepareRequest.addDhtVersion(IgniteTxKey key,
GridCacheVersion dhtVer)
Adds version to be verified on remote node.
|
void |
GridDistributedLockRequest.addKeyBytes(KeyCacheObject key,
boolean retVal,
Collection<GridCacheMvccCandidate> cands,
GridCacheContext ctx)
Adds a key.
|
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.
|
GridCacheMvccCandidate |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> pendingVers,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
void |
GridDistributedTxMapping.evictPartitions(int[] parts) |
void |
GridDistributedTxMapping.evictReaders(Collection<IgniteTxKey> keys) |
void |
GridDistributedTxMapping.lastBackups(Collection<UUID> lastBackups) |
protected abstract IgniteInternalFuture<Boolean> |
GridDistributedCacheAdapter.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl) |
protected abstract IgniteInternalFuture<Boolean> |
GridDistributedCacheAdapter.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl) |
boolean |
GridCacheTxRecoveryFuture.onDone(Boolean res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridCacheTxRecoveryFuture.onDone(Boolean res,
Throwable err)
Callback to notify that future is finished.
|
| Constructor and Description |
|---|
GridDistributedLockRequest(int cacheId,
UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
IgniteUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
boolean skipStore) |
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
IgniteUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize) |
GridDistributedTxPrepareRequest(IgniteInternalTx tx,
Collection<IgniteTxEntry> reads,
Collection<IgniteTxEntry> writes,
Map<UUID,Collection<UUID>> txNodes,
boolean onePhaseCommit) |
GridDistributedTxRemoteAdapter(GridCacheSharedContext<?,?> ctx,
UUID nodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridDhtCacheEntry.addDhtLocal(UUID nearNodeId,
GridCacheVersion nearVer,
AffinityTopologyVersion topVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
GridCacheMvccCandidate |
GridDhtLockFuture.addEntry(GridDhtCacheEntry entry)
Adds entry to future.
|
IgniteInternalFuture<Boolean> |
GridDhtTxLocalAdapter.addEntry(long msgId,
IgniteTxEntry e) |
protected IgniteInternalFuture<Boolean> |
GridDhtTxLocal.addReader(long msgId,
GridDhtCacheEntry cached,
IgniteTxEntry entry,
AffinityTopologyVersion topVer)
Adds reader to cached entry.
|
protected abstract IgniteInternalFuture<Boolean> |
GridDhtTxLocalAdapter.addReader(long msgId,
GridDhtCacheEntry cached,
IgniteTxEntry entry,
AffinityTopologyVersion topVer)
Adds reader to cached entry.
|
IgniteInternalFuture<Boolean> |
GridDhtCacheEntry.addReader(UUID nodeId,
long msgId,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
GridDhtTxLocal.currentPrepareFuture() |
static GridDhtPartitionState |
GridDhtPartitionState.fromOrdinal(int ord) |
GridCacheMvccCandidate |
GridDhtCacheEntry.localCandidateByNearVersion(GridCacheVersion nearVer,
boolean rmv) |
GridDhtLocalPartition |
GridDhtPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create) |
GridDhtLocalPartition |
GridClientPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create) |
GridDhtLocalPartition |
GridDhtPartitionTopology.localPartition(Object key,
boolean create) |
Set<ClusterNode> |
GridDhtTxLocalAdapter.lockTransactionNodes() |
GridCacheVersion |
GridDhtLockFuture.mappedVersion()
Mapping should occur only if this interface returns a non-null value.
|
GridCacheMvccCandidate |
GridDhtCacheEntry.mappings(GridCacheVersion ver,
Collection<ClusterNode> dhtNodeIds,
Collection<ClusterNode> nearNodeIds)
Sets mappings into entry.
|
IgniteInternalFuture<?> |
GridDhtCacheAdapter.multiUpdateFinishFuture(AffinityTopologyVersion topVer)
Creates multi update finish future.
|
GridDhtTopologyFuture |
GridDhtCacheAdapter.multiUpdateTopologyFuture() |
GridCacheVersion |
GridDhtLockRequest.owned(KeyCacheObject key) |
GridDhtPartitionMap |
GridDhtPartitionTopology.partitions(UUID nodeId) |
GridDhtPartitionMap |
GridClientPartitionTopology.partitions(UUID nodeId) |
GridDhtCacheEntry |
GridDhtCacheAdapter.peekExx(KeyCacheObject key) |
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry.ReaderId |
GridDhtCacheEntry.readerId(UUID nodeId) |
UUID |
GridDhtTxPrepareRequest.subjectId() |
UUID |
GridDhtTxFinishRequest.subjectId() |
GridDhtPartitionMap |
GridClientPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionFullMap partMap) |
GridDhtPartitionMap |
GridDhtPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionMap parts) |
GridDhtPartitionMap |
GridClientPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionMap parts) |
IgniteBiTuple<GridCacheVersion,CacheObject> |
GridDhtCacheEntry.versionedValue(AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtTxRemote.addWrite(GridCacheContext cacheCtx,
GridCacheOperation op,
IgniteTxKey key,
CacheObject val,
Collection<T2<javax.cache.processor.EntryProcessor<Object,Object,Object>,Object[]>> entryProcessors,
long ttl,
boolean skipStore) |
void |
GridDhtTxRemote.addWrite(GridCacheContext cacheCtx,
GridCacheOperation op,
IgniteTxKey key,
CacheObject val,
Collection<T2<javax.cache.processor.EntryProcessor<Object,Object,Object>,Object[]>> entryProcessors,
long ttl,
boolean skipStore) |
IgniteInternalFuture<Map<K,V>> |
GridDhtCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtCacheAdapter.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
GridDhtFuture<Collection<GridCacheEntryInfo>> |
GridDhtCacheAdapter.getDhtAsync(UUID reader,
long msgId,
LinkedHashMap<KeyCacheObject,Boolean> keys,
boolean readThrough,
boolean reload,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiry,
boolean skipVals) |
GridDhtFuture<Collection<GridCacheEntryInfo>> |
GridDhtCacheAdapter.getDhtAsync(UUID reader,
long msgId,
LinkedHashMap<KeyCacheObject,Boolean> keys,
boolean readThrough,
boolean reload,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiry,
boolean skipVals) |
IgniteInternalFuture<Boolean> |
GridDhtTransactionalCacheAdapter.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx txx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl) |
IgniteInternalFuture<GridNearLockResponse> |
GridDhtTransactionalCacheAdapter.lockAllAsync(GridCacheContext<?,?> cacheCtx,
ClusterNode nearNode,
GridNearLockRequest req,
CacheEntryPredicate[] filter0) |
GridDhtFuture<Boolean> |
GridDhtTransactionalCacheAdapter.lockAllAsyncInternal(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx txx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl,
CacheEntryPredicate[] filter,
boolean skipStore)
Acquires locks in partitioned cache.
|
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<ClusterNode>> res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtAssignmentFetchFuture.onDone(List<List<ClusterNode>> res,
Throwable err)
Callback to notify that future is finished.
|
IgniteInternalFuture<GridNearTxPrepareResponse> |
GridDhtTxLocal.prepareAsync(Iterable<IgniteTxEntry> reads,
Iterable<IgniteTxEntry> writes,
Map<IgniteTxKey,GridCacheVersion> verMap,
long msgId,
IgniteUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
IgniteInternalFuture<GridNearTxPrepareResponse> |
GridDhtTxLocal.prepareAsync(Iterable<IgniteTxEntry> reads,
Iterable<IgniteTxEntry> writes,
Map<IgniteTxKey,GridCacheVersion> verMap,
long msgId,
IgniteUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
GridCacheMapEntry |
GridNoStorageCacheMap.putEntry(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val) |
GridTriple<GridCacheMapEntry> |
GridNoStorageCacheMap.putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create) |
protected void |
GridDhtTxLocal.sendFinishReply(boolean commit,
Throwable err) |
protected abstract void |
GridDhtTxLocalAdapter.sendFinishReply(boolean commit,
Throwable err) |
void |
GridDhtCacheAdapter.sendTtlUpdateRequest(IgniteCacheExpiryPolicy expiryPlc) |
GridDhtPartitionMap |
GridDhtPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionFullMap partMap) |
GridDhtPartitionMap |
GridClientPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionFullMap partMap) |
GridDhtPartitionMap |
GridDhtPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionMap parts) |
GridDhtPartitionMap |
GridClientPartitionTopology.update(GridDhtPartitionExchangeId exchId,
GridDhtPartitionMap parts) |
| Constructor and Description |
|---|
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<KeyCacheObject,Boolean> keys,
boolean readThrough,
boolean reload,
IgniteTxLocalEx tx,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<KeyCacheObject,Boolean> keys,
boolean readThrough,
boolean reload,
IgniteTxLocalEx tx,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<KeyCacheObject,Boolean> keys,
boolean readThrough,
boolean reload,
IgniteTxLocalEx tx,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridDhtLockRequest(int cacheId,
UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion lockVer,
AffinityTopologyVersion topVer,
boolean isInTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int dhtCnt,
int nearCnt,
int txSize,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipStore) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
UUID subjId,
int taskNameHash) |
GridDhtTxLocalAdapter(GridCacheSharedContext cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean sys,
boolean explicitLock,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
UUID subjId,
int taskNameHash) |
GridDhtTxRemote(GridCacheSharedContext ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
GridDhtTxRemote(GridCacheSharedContext ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
long rmtThreadId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
GridCacheVersion nearXidVer,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId,
int taskNameHash)
This constructor is meant for optimistic transactions.
|
GridPartitionedGetFuture(GridCacheContext<K,V> cctx,
Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean reload,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridPartitionedGetFuture(GridCacheContext<K,V> cctx,
Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean reload,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridNearAtomicUpdateRequest.conflictVersion(int idx) |
GridCacheVersion |
GridDhtAtomicUpdateRequest.conflictVersion(int idx) |
List<GridCacheVersion> |
GridNearAtomicUpdateRequest.conflictVersions() |
javax.cache.processor.EntryProcessor<Object,Object,Object> |
GridDhtAtomicUpdateRequest.entryProcessor(int idx) |
CacheEntryPredicate[] |
GridNearAtomicUpdateRequest.filter() |
Object[] |
GridNearAtomicUpdateRequest.invokeArguments() |
Object[] |
GridDhtAtomicUpdateRequest.invokeArguments() |
javax.cache.processor.EntryProcessor<Object,Object,Object> |
GridDhtAtomicUpdateRequest.nearEntryProcessor(int idx) |
CacheObject |
GridDhtAtomicUpdateRequest.nearValue(int idx) |
CacheObject |
GridNearAtomicUpdateResponse.nearValue(int idx) |
List<Integer> |
GridNearAtomicUpdateResponse.nearValuesIndexes() |
List<Integer> |
GridNearAtomicUpdateResponse.skippedIndexes() |
CacheObject |
GridDhtAtomicUpdateRequest.value(int idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearAtomicUpdateResponse.addNearValue(int keyIdx,
CacheObject val,
long ttl,
long expireTime)
Adds value to be put in near cache on originating node.
|
void |
GridDhtAtomicUpdateFuture.addNearWriteEntries(Iterable<UUID> readers,
GridDhtCacheEntry entry,
CacheObject val,
javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
long ttl,
long expireTime) |
void |
GridDhtAtomicUpdateRequest.addNearWriteValue(KeyCacheObject key,
CacheObject val,
javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
long ttl,
long expireTime) |
void |
GridNearAtomicUpdateRequest.addUpdateEntry(KeyCacheObject key,
Object val,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean primary) |
void |
GridNearAtomicUpdateRequest.addUpdateEntry(KeyCacheObject key,
Object val,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean primary) |
void |
GridDhtAtomicUpdateFuture.addWriteEntry(GridDhtCacheEntry entry,
CacheObject val,
javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
long ttl,
long conflictExpireTime,
GridCacheVersion conflictVer) |
void |
GridDhtAtomicUpdateFuture.addWriteEntry(GridDhtCacheEntry entry,
CacheObject val,
javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
long ttl,
long conflictExpireTime,
GridCacheVersion conflictVer) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(KeyCacheObject key,
CacheObject val,
javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
long ttl,
long conflictExpireTime,
GridCacheVersion conflictVer) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(KeyCacheObject key,
CacheObject val,
javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
long ttl,
long conflictExpireTime,
GridCacheVersion conflictVer) |
IgniteInternalFuture<Map<K,V>> |
GridDhtAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
V |
GridDhtAtomicCache.getAndPut(K key,
V val,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<V> |
GridDhtAtomicCache.getAndPutAsync0(K key,
V val,
CacheEntryPredicate... filter) |
protected IgniteInternalFuture<Boolean> |
GridDhtAtomicCache.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl) |
protected IgniteInternalFuture<Boolean> |
GridDhtAtomicCache.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl) |
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.
|
IgniteInternalFuture<Boolean> |
GridDhtAtomicCache.putAsync0(K key,
V val,
CacheEntryPredicate... filter) |
IgniteInternalFuture<Boolean> |
GridDhtAtomicCache.removeAsync(K key,
CacheEntryPredicate... filter) |
| Constructor and Description |
|---|
GridNearAtomicUpdateFuture(GridCacheContext cctx,
GridDhtAtomicCache cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Collection<?> keys,
Collection<?> vals,
Object[] invokeArgs,
Collection<GridCacheDrInfo> conflictPutVals,
Collection<GridCacheVersion> conflictRmvVals,
boolean retval,
boolean rawRetval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore) |
GridNearAtomicUpdateFuture(GridCacheContext cctx,
GridDhtAtomicCache cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Collection<?> keys,
Collection<?> vals,
Object[] invokeArgs,
Collection<GridCacheDrInfo> conflictPutVals,
Collection<GridCacheVersion> conflictRmvVals,
boolean retval,
boolean rawRetval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore) |
GridNearAtomicUpdateFuture(GridCacheContext cctx,
GridDhtAtomicCache cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Collection<?> keys,
Collection<?> vals,
Object[] invokeArgs,
Collection<GridCacheDrInfo> conflictPutVals,
Collection<GridCacheVersion> conflictRmvVals,
boolean retval,
boolean rawRetval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore) |
GridNearAtomicUpdateFuture(GridCacheContext cctx,
GridDhtAtomicCache cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Collection<?> keys,
Collection<?> vals,
Object[] invokeArgs,
Collection<GridCacheDrInfo> conflictPutVals,
Collection<GridCacheVersion> conflictRmvVals,
boolean retval,
boolean rawRetval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore) |
GridNearAtomicUpdateFuture(GridCacheContext cctx,
GridDhtAtomicCache cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Collection<?> keys,
Collection<?> vals,
Object[] invokeArgs,
Collection<GridCacheDrInfo> conflictPutVals,
Collection<GridCacheVersion> conflictRmvVals,
boolean retval,
boolean rawRetval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore) |
GridNearAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
Object[] invokeArgs,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean clientReq)
Constructor.
|
GridNearAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
Object[] invokeArgs,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean clientReq)
Constructor.
|
GridNearAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
Object[] invokeArgs,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean clientReq)
Constructor.
|
GridNearAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
Object[] invokeArgs,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean clientReq)
Constructor.
|
GridNearAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
Object[] invokeArgs,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean clientReq)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CacheObject |
GridDhtDetachedCacheEntry.unswap(boolean needVal)
Unswaps an entry.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals)
This method is used internally.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean reload,
boolean forcePrimary,
AffinityTopologyVersion topVer,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean reload,
boolean forcePrimary,
AffinityTopologyVersion topVer,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean reload,
boolean forcePrimary,
AffinityTopologyVersion topVer,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
IgniteInternalFuture<Boolean> |
GridDhtColocatedCache.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl)
This is an entry point to pessimistic locking within transaction.
|
IgniteInternalFuture<Boolean> |
GridDhtColocatedCache.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl)
This is an entry point to pessimistic locking within transaction.
|
protected void |
GridDhtDetachedCacheEntry.value(CacheObject val)
Sets entry value.
|
| Constructor and Description |
|---|
GridDhtColocatedLockFuture(GridCacheContext<?,?> cctx,
Collection<KeyCacheObject> keys,
GridNearTxLocal tx,
boolean read,
boolean retval,
long timeout,
long accessTtl,
CacheEntryPredicate[] filter,
boolean skipStore) |
| 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.
|
void |
GridDhtPreloader.onInitialExchangeComplete(Throwable err)
Callback by exchange manager when initial partition exchange is complete.
|
| Constructor and Description |
|---|
GridDhtPartitionsFullMessage(GridDhtPartitionExchangeId id,
GridCacheVersion lastVer,
AffinityTopologyVersion topVer) |
GridDhtPartitionsFullMessage(GridDhtPartitionExchangeId id,
GridCacheVersion lastVer,
AffinityTopologyVersion topVer) |
GridDhtPartitionsSingleMessage(GridDhtPartitionExchangeId exchId,
boolean client,
GridCacheVersion lastVer) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridNearCacheEntry.addNearLocal(UUID dhtNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add near local candidate.
|
AffinityTopologyVersion |
GridNearTxPrepareResponse.clientRemapVersion() |
AffinityTopologyVersion |
GridNearLockResponse.clientRemapVersion() |
IgniteInternalFuture<?> |
GridNearTxLocal.currentPrepareFuture() |
GridCacheMvccCandidate |
GridNearCacheEntry.dhtNodeId(GridCacheVersion ver,
UUID dhtNodeId) |
GridCacheVersion |
GridNearCacheEntry.dhtVersion() |
Throwable |
GridNearTxFinishResponse.error() |
GridCacheVersion |
GridNearTxLocal.nearXidVersion() |
GridNearCacheEntry |
GridNearCacheAdapter.peekExx(KeyCacheObject key) |
javax.cache.Cache.Entry<K,V> |
GridNearCacheAdapter.randomEntry() |
GridCacheMvccCandidate |
GridNearCacheEntry.removeLock()
Unlocks local lock.
|
GridNearLockRequest |
GridNearLockMapping.request() |
GridNearTxRemote |
GridNearTransactionalCache.startRemoteTx(UUID nodeId,
GridDhtLockRequest req) |
UUID |
GridNearTxPrepareRequest.subjectId() |
UUID |
GridNearTxFinishRequest.subjectId() |
V |
GridNearAtomicCache.tryPutIfAbsent(K key,
V val)
Tries to put value in cache.
|
IgniteBiTuple<GridCacheVersion,CacheObject> |
GridNearCacheEntry.versionedValue() |
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCacheExpiryPolicy |
GridNearTxLocal.accessPolicy(GridCacheContext ctx,
IgniteTxKey key,
javax.cache.expiry.ExpiryPolicy expiryPlc) |
boolean |
GridNearTxRemote.addEntry(GridCacheContext cacheCtx,
IgniteTxKey key,
GridCacheOperation op,
CacheObject val,
GridCacheVersion drVer,
boolean skipStore) |
void |
GridNearLockRequest.addKeyBytes(KeyCacheObject key,
boolean retVal,
GridCacheVersion dhtVer,
GridCacheContext ctx)
Adds a key.
|
GridCacheMvccCandidate |
GridNearCacheEntry.addNearLocal(UUID dhtNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add near local candidate.
|
void |
GridNearLockResponse.addValueBytes(CacheObject val,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer) |
void |
GridNearLockResponse.addValueBytes(CacheObject val,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer) |
void |
GridNearLockResponse.addValueBytes(CacheObject val,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer) |
void |
GridNearCacheAdapter.clearLocally0(Collection<? extends K> keys,
CacheEntryPredicate[] filter) |
boolean |
GridNearCacheAdapter.clearLocally0(K key,
CacheEntryPredicate[] filter) |
Set<javax.cache.Cache.Entry<K,V>> |
GridNearCacheAdapter.entrySet(CacheEntryPredicate... filter) |
protected IgniteInternalFuture<Map<K,V>> |
GridNearAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
protected IgniteInternalFuture<Map<K,V>> |
GridNearAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
protected IgniteInternalFuture<Map<K,V>> |
GridNearAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridNearTransactionalCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridNearTransactionalCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridNearTransactionalCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
V |
GridNearAtomicCache.getAndPut(K key,
V val,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<V> |
GridNearAtomicCache.getAndPutAsync0(K key,
V val,
CacheEntryPredicate... filter) |
Set<K> |
GridNearCacheAdapter.keySet(CacheEntryPredicate[] filter) |
IgniteInternalFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(IgniteInternalTx tx,
Collection<KeyCacheObject> keys,
boolean reload,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializePortable,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean skipVal,
boolean skipStore) |
IgniteInternalFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(IgniteInternalTx tx,
Collection<KeyCacheObject> keys,
boolean reload,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializePortable,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean skipVal,
boolean skipStore) |
IgniteInternalFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(IgniteInternalTx tx,
Collection<KeyCacheObject> keys,
boolean reload,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializePortable,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean skipVal,
boolean skipStore) |
IgniteInternalFuture<Map<K,V>> |
GridNearCacheAdapter.loadAsync(IgniteInternalTx tx,
Collection<KeyCacheObject> keys,
boolean reload,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializePortable,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean skipVal,
boolean skipStore) |
boolean |
GridNearCacheEntry.loadedValue(IgniteInternalTx tx,
UUID primaryNodeId,
CacheObject val,
GridCacheVersion ver,
GridCacheVersion dhtVer,
GridCacheVersion expVer,
long ttl,
long expireTime,
boolean evt,
AffinityTopologyVersion topVer,
UUID subjId) |
boolean |
GridNearCacheEntry.loadedValue(IgniteInternalTx tx,
UUID primaryNodeId,
CacheObject val,
GridCacheVersion ver,
GridCacheVersion dhtVer,
GridCacheVersion expVer,
long ttl,
long expireTime,
boolean evt,
AffinityTopologyVersion topVer,
UUID subjId) |
protected IgniteInternalFuture<Boolean> |
GridNearAtomicCache.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl) |
protected IgniteInternalFuture<Boolean> |
GridNearAtomicCache.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
boolean isInvalidate,
boolean isRead,
boolean retval,
TransactionIsolation isolation,
long accessTtl) |
Set<K> |
GridNearCacheAdapter.nearKeySet(CacheEntryPredicate filter) |
boolean |
GridNearPessimisticTxPrepareFuture.onDone(IgniteInternalTx res,
Throwable err)
Callback to notify that future is finished.
|
boolean |
GridNearPessimisticTxPrepareFuture.onDone(IgniteInternalTx res,
Throwable err)
Callback to notify that future is finished.
|
IgniteInternalFuture<GridNearTxPrepareResponse> |
GridNearTxLocal.prepareAsyncLocal(Collection<IgniteTxEntry> reads,
Collection<IgniteTxEntry> writes,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
IgniteInternalFuture<GridNearTxPrepareResponse> |
GridNearTxLocal.prepareAsyncLocal(Collection<IgniteTxEntry> reads,
Collection<IgniteTxEntry> writes,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups)
Prepares next batch of entries in dht transaction.
|
Set<javax.cache.Cache.Entry<K,V>> |
GridNearCacheAdapter.primaryEntrySet(CacheEntryPredicate... filter) |
Set<K> |
GridNearCacheAdapter.primaryKeySet(CacheEntryPredicate... filter) |
void |
GridNearCacheAdapter.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
IgniteInternalFuture<Boolean> |
GridNearAtomicCache.putAsync0(K key,
V val,
CacheEntryPredicate... filter) |
IgniteInternalFuture<Object> |
GridNearCacheAdapter.readThroughAllAsync(Collection<KeyCacheObject> keys,
boolean reload,
boolean skipVals,
IgniteInternalTx tx,
UUID subjId,
String taskName,
IgniteBiInClosure<KeyCacheObject,Object> vis) |
IgniteInternalFuture<Boolean> |
GridNearAtomicCache.removeAsync(K key,
CacheEntryPredicate... filter) |
protected void |
GridNearTxLocal.sendFinishReply(boolean commit,
Throwable err) |
void |
GridNearAtomicCache.unlockAll(Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
void |
GridNearCacheEntry.updateOrEvict(GridCacheVersion dhtVer,
CacheObject val,
long expireTime,
long ttl,
UUID primaryNodeId,
AffinityTopologyVersion topVer)
This method should be called only when lock is owned on this entry.
|
| Constructor and Description |
|---|
GridNearGetFuture(GridCacheContext<K,V> cctx,
Collection<KeyCacheObject> keys,
boolean readThrough,
boolean reload,
boolean forcePrimary,
IgniteTxLocalEx tx,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridNearGetFuture(GridCacheContext<K,V> cctx,
Collection<KeyCacheObject> keys,
boolean readThrough,
boolean reload,
boolean forcePrimary,
IgniteTxLocalEx tx,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridNearGetFuture(GridCacheContext<K,V> cctx,
Collection<KeyCacheObject> keys,
boolean readThrough,
boolean reload,
boolean forcePrimary,
IgniteTxLocalEx tx,
UUID subjId,
String taskName,
boolean deserializePortable,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridNearLockFuture(GridCacheContext<?,?> cctx,
Collection<KeyCacheObject> keys,
GridNearTxLocal tx,
boolean read,
boolean retval,
long timeout,
long accessTtl,
CacheEntryPredicate[] filter,
boolean skipStore) |
GridNearLockRequest(int cacheId,
AffinityTopologyVersion topVer,
UUID nodeId,
long threadId,
IgniteUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean implicitTx,
boolean implicitSingleTx,
boolean isRead,
boolean retVal,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
boolean syncCommit,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipStore,
boolean firstClientReq) |
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean storeEnabled,
AffinityTopologyVersion topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash) |
GridNearTxFinishResponse(GridCacheVersion xid,
long nearThreadId,
IgniteUuid futId,
IgniteUuid miniId,
Throwable err) |
GridNearTxLocal(GridCacheSharedContext ctx,
boolean implicit,
boolean implicitSingle,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean storeEnabled,
int txSize,
UUID subjId,
int taskNameHash) |
GridNearTxPrepareRequest(IgniteUuid futId,
AffinityTopologyVersion topVer,
IgniteInternalTx tx,
Collection<IgniteTxEntry> reads,
Collection<IgniteTxEntry> writes,
boolean near,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
boolean onePhaseCommit,
boolean retVal,
boolean implicitSingle,
boolean explicitLock,
UUID subjId,
int taskNameHash,
boolean firstClientReq) |
GridNearTxRemote(GridCacheSharedContext ctx,
ClassLoader ldr,
UUID nodeId,
UUID nearNodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
Collection<IgniteTxEntry> writeEntries,
int txSize,
UUID subjId,
int taskNameHash)
This constructor is meant for optimistic transactions.
|
GridNearTxRemote(GridCacheSharedContext ctx,
UUID nodeId,
UUID nearNodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridOsCacheDrManager.replicate(KeyCacheObject key,
CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType)
Performs replication.
|
void |
GridCacheDrManager.replicate(KeyCacheObject key,
CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType)
Performs replication.
|
| Modifier and Type | Method and Description |
|---|---|
GridLeanMap<UUID,Object> |
GridCacheEntryExtras.attributesData() |
GridCacheMvcc |
GridCacheEntryExtras.mvcc() |
GridCacheVersion |
GridCacheEntryExtras.obsoleteVersion() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntryExtras |
GridCacheAttributesEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesTtlEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesMvccObsoleteEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesMvccTtlEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesObsoleteEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesMvccEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesObsoleteTtlEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesMvccObsoleteTtlEntryExtras.attributesData(GridLeanMap<UUID,Object> attrData) |
GridCacheEntryExtras |
GridCacheAttributesMvccObsoleteEntryExtras.mvcc(GridCacheMvcc mvcc) |
GridCacheEntryExtras |
GridCacheAttributesMvccTtlEntryExtras.mvcc(GridCacheMvcc mvcc) |
GridCacheEntryExtras |
GridCacheAttributesMvccEntryExtras.mvcc(GridCacheMvcc mvcc) |
GridCacheEntryExtras |
GridCacheAttributesMvccObsoleteTtlEntryExtras.mvcc(GridCacheMvcc mvcc) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
CacheJtaManagerAdapter.tmLookup()
Gets transaction manager finder.
|
Object |
CacheNoopJtaManager.tmLookup()
Gets transaction manager finder.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridLocalCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
GridCacheMvccCandidate |
GridLocalCacheEntry.readyLocal(GridCacheMvccCandidate cand) |
GridCacheMvccCandidate |
GridLocalCacheEntry.readyLocal(GridCacheVersion ver) |
GridCacheMvccCandidate |
GridLocalCacheEntry.recheck()
Rechecks if lock should be reassigned.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<Boolean> |
GridLocalCache.lockAllAsync(Collection<KeyCacheObject> keys,
long timeout,
IgniteTxLocalEx tx,
CacheEntryPredicate[] filter) |
| Modifier and Type | Method and Description |
|---|---|
V |
GridLocalAtomicCache.get(K key,
boolean deserializePortable) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<Map<K,V>> |
GridLocalAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridLocalAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
IgniteInternalFuture<Map<K,V>> |
GridLocalAtomicCache.getAllAsync(Collection<? extends K> keys,
boolean forcePrimary,
boolean skipTx,
GridCacheEntryEx entry,
UUID subjId,
String taskName,
boolean deserializePortable,
boolean skipVals) |
V |
GridLocalAtomicCache.getAndPut(K key,
V val,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<V> |
GridLocalAtomicCache.getAndPutAsync0(K key,
V val,
CacheEntryPredicate... filter) |
IgniteInternalFuture<Boolean> |
GridLocalAtomicCache.lockAllAsync(Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
IgniteInternalFuture<Boolean> |
GridLocalAtomicCache.putAsync0(K key,
V val,
CacheEntryPredicate... filter) |
IgniteInternalFuture<Boolean> |
GridLocalAtomicCache.removeAsync(K key,
CacheEntryPredicate... filter) |
void |
GridLocalAtomicCache.unlockAll(Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
GridCacheQueryBean.arguments() |
<K,V> IndexingQueryFilter |
GridCacheQueryManager.backupsFilter(boolean includeBackups) |
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 |
CacheQueryFuture.next()
Returns next element from result set.
|
T |
GridCacheQueryErrorFuture.next()
Returns next element from result set.
|
Integer |
GridCacheQueryRequest.partition() |
Integer |
GridCacheQueryAdapter.partition() |
String |
GridCacheQueryAdapter.queryClassName() |
IgniteReducer<Object,Object> |
GridCacheQueryBean.reducer() |
<K,V> IgniteBiPredicate<K,V> |
GridCacheQueryAdapter.scanFilter() |
IgniteClosure<Object,Object> |
GridCacheQueryBean.transform() |
String |
GridCacheSqlMetadata.valueClass(String type)
Gets value class name for provided type.
|
| Modifier and Type | Method and Description |
|---|---|
CacheQuery<Map.Entry<K,V>> |
GridCacheQueryManager.createScanQuery(IgniteBiPredicate<K,V> filter,
Integer part,
boolean keepPortable)
Creates user's predicate based scan query.
|
CacheQuery<Map.Entry<K,V>> |
GridCacheQueryManager.createScanQuery(IgniteBiPredicate<K,V> filter,
Integer part,
boolean keepPortable)
Creates user's predicate based scan query.
|
<R> CacheQueryFuture<R> |
GridCacheQueryAdapter.execute(IgniteClosure<T,R> rmtTransform,
Object... args)
Executes the query the same way as
CacheQuery.execute(Object...) method but transforms result remotely. |
<R> CacheQueryFuture<R> |
CacheQuery.execute(IgniteClosure<T,R> rmtTransform,
Object... args)
Executes the query the same way as
CacheQuery.execute(Object...) method but transforms result remotely. |
<R> CacheQueryFuture<R> |
GridCacheQueryAdapter.execute(IgniteReducer<T,R> rmtReducer,
Object... args)
Executes the query the same way as
CacheQuery.execute(Object...) method but reduces result remotely. |
<R> CacheQueryFuture<R> |
CacheQuery.execute(IgniteReducer<T,R> rmtReducer,
Object... args)
Executes the query the same way as
CacheQuery.execute(Object...) method but reduces result remotely. |
CacheQueryFuture<T> |
GridCacheQueryAdapter.execute(Object... args)
Executes the query and returns the query future.
|
CacheQueryFuture<T> |
CacheQuery.execute(Object... args)
Executes the query and returns the query future.
|
void |
GridCacheQueryResponse.metadata(List<GridQueryFieldMetadata> 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.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected abstract boolean |
GridCacheQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected abstract boolean |
GridCacheQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected abstract boolean |
GridCacheQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metadata,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metadata,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metadata,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheDistributedQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metadata,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
Throwable e) |
protected boolean |
GridCacheLocalQueryManager.onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
List<GridQueryFieldMetadata> metaData,
Collection<?> 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<GridQueryFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheLocalFieldsQueryFuture.onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheLocalFieldsQueryFuture.onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheLocalFieldsQueryFuture.onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<?> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
void |
GridCacheDistributedFieldsQueryFuture.onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
protected abstract boolean |
GridCacheQueryManager.onPageReady(boolean loc,
org.apache.ignite.internal.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.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
Collection<?> data,
boolean finished,
Throwable e)
Called when data for page is ready.
|
protected void |
GridCacheQueryManager.removeFieldsQueryResult(UUID sndId,
long reqId) |
protected void |
GridCacheQueryManager.removeQueryResult(UUID sndId,
long reqId) |
| Constructor and Description |
|---|
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
IgniteLogger log,
int pageSize,
long timeout,
boolean keepAll,
boolean incBackups,
boolean dedup,
ClusterGroup prj,
IgniteBiPredicate<Object,Object> filter,
Integer part,
String clsName,
String clause,
boolean incMeta,
boolean keepPortable,
UUID subjId,
int taskHash) |
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
IgniteLogger log,
int pageSize,
long timeout,
boolean keepAll,
boolean incBackups,
boolean dedup,
ClusterGroup prj,
IgniteBiPredicate<Object,Object> filter,
Integer part,
String clsName,
String clause,
boolean incMeta,
boolean keepPortable,
UUID subjId,
int taskHash) |
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
String clsName,
String clause,
IgniteBiPredicate<Object,Object> filter,
Integer part,
boolean incMeta,
boolean keepPortable) |
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
String clsName,
String clause,
IgniteBiPredicate<Object,Object> filter,
Integer part,
boolean incMeta,
boolean keepPortable) |
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
String clsName,
String clause,
IgniteBiPredicate<Object,Object> filter,
Integer part,
boolean incMeta,
boolean keepPortable) |
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
String clsName,
String clause,
IgniteBiPredicate<Object,Object> filter,
Integer part,
boolean incMeta,
boolean keepPortable) |
GridCacheQueryBean(GridCacheQueryAdapter<?> qry,
IgniteReducer<Object,Object> rdc,
IgniteClosure<Object,Object> trans,
Object[] args) |
GridCacheQueryBean(GridCacheQueryAdapter<?> qry,
IgniteReducer<Object,Object> rdc,
IgniteClosure<Object,Object> trans,
Object[] args) |
GridCacheQueryBean(GridCacheQueryAdapter<?> qry,
IgniteReducer<Object,Object> rdc,
IgniteClosure<Object,Object> trans,
Object[] args) |
GridCacheQueryRequest(int cacheId,
long id,
String cacheName,
GridCacheQueryType type,
boolean fields,
String clause,
String clsName,
IgniteBiPredicate<Object,Object> keyValFilter,
Integer part,
IgniteReducer<Object,Object> rdc,
IgniteClosure<Object,Object> trans,
int pageSize,
boolean incBackups,
Object[] args,
boolean incMeta,
boolean keepPortable,
UUID subjId,
int taskHash) |
| Modifier and Type | Method and Description |
|---|---|
static javax.cache.event.EventType |
CacheContinuousQueryEntry.eventTypeFromOrdinal(int ord) |
| Modifier and Type | Method and Description |
|---|---|
Map<? extends ComputeJob,ClusterNode> |
GridCacheQueryJdbcMetadataTask.map(List<ClusterNode> subgrid,
String cacheName)
This method is called to map or split grid task into multiple grid jobs.
|
protected Collection<? extends ComputeJob> |
GridCacheQueryJdbcValidationTask.split(int gridSize,
String cacheName)
This is a simplified version of
ComputeTask.map(List, Object) method. |
| Modifier and Type | Method and Description |
|---|---|
Object |
GridCacheStoreManagerAdapter.load(IgniteInternalTx tx,
KeyCacheObject key)
Loads data from persistent store.
|
Object |
CacheStoreManager.load(IgniteInternalTx tx,
KeyCacheObject key)
Loads data from persistent store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheStoreManager.initialize(CacheStore<?,?> cfgStore,
Map<CacheStore,ThreadLocal> sesHolders)
Initialize store manager.
|
void |
GridCacheStoreManagerAdapter.initialize(CacheStore cfgStore,
Map sesHolders)
Initialize store manager.
|
Object |
GridCacheStoreManagerAdapter.load(IgniteInternalTx tx,
KeyCacheObject key)
Loads data from persistent store.
|
Object |
CacheStoreManager.load(IgniteInternalTx tx,
KeyCacheObject key)
Loads data from persistent store.
|
boolean |
CacheStoreManager.loadAll(IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys,
IgniteBiInClosure<KeyCacheObject,Object> vis)
Loads data from persistent store.
|
boolean |
GridCacheStoreManagerAdapter.loadAll(IgniteInternalTx tx,
Collection keys,
IgniteBiInClosure vis)
Loads data from persistent store.
|
void |
GridCacheWriteBehindStore.loadCache(IgniteBiInClosure<K,V> clo,
Object... args)
Loads all values from underlying persistent storage.
|
void |
CacheStoreManager.localStoreLoadAll(IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys,
GridInClosure3<KeyCacheObject,Object,GridCacheVersion> vis) |
void |
GridCacheStoreManagerAdapter.localStoreLoadAll(IgniteInternalTx tx,
Collection keys,
GridInClosure3 vis) |
boolean |
GridCacheStoreManagerAdapter.put(IgniteInternalTx tx,
Object key,
Object val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
boolean |
CacheStoreManager.put(IgniteInternalTx tx,
Object key,
Object val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
boolean |
GridCacheStoreManagerAdapter.putAll(IgniteInternalTx tx,
Map map)
Puts key-value pair into storage.
|
boolean |
CacheStoreManager.putAll(IgniteInternalTx tx,
Map<Object,IgniteBiTuple<Object,GridCacheVersion>> map)
Puts key-value pair into storage.
|
boolean |
GridCacheStoreManagerAdapter.remove(IgniteInternalTx tx,
Object key) |
boolean |
CacheStoreManager.remove(IgniteInternalTx tx,
Object key) |
boolean |
GridCacheStoreManagerAdapter.removeAll(IgniteInternalTx tx,
Collection keys) |
boolean |
CacheStoreManager.removeAll(IgniteInternalTx tx,
Collection<Object> keys) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
IgniteInternalTx.addMeta(UUID name,
T val)
Adds a new metadata.
|
IgniteInternalFuture<?> |
IgniteTxManager.awaitFinishAckAsync(UUID rmtNodeId,
long threadId)
Asynchronously waits for last finish request ack.
|
Throwable |
IgniteTxLocalEx.commitError() |
GridCacheVersion |
IgniteTxEntry.conflictVersion() |
IgniteInternalFuture<?> |
IgniteInternalTx.currentPrepareFuture() |
IgniteInternalFuture<?> |
IgniteTxAdapter.currentPrepareFuture() |
IgniteTxEntry |
IgniteInternalTx.entry(IgniteTxKey key) |
IgniteTxEntry |
IgniteTxLocalAdapter.entry(IgniteTxKey key) |
javax.cache.expiry.ExpiryPolicy |
IgniteTxEntry.expiry() |
IgniteInternalFuture<IgniteInternalTx> |
IgniteTxHandler.finish(UUID nodeId,
GridNearTxLocal locTx,
GridNearTxFinishRequest req) |
IgniteTxEntry |
IgniteTxMap.get(Object key) |
<T> T |
IgniteTxManager.localTx() |
IgniteInternalTx |
IgniteTxManager.localTxx() |
<T> T |
IgniteInternalTx.meta(UUID name)
Gets metadata by name.
|
<T extends IgniteInternalTx> |
IgniteTxManager.nearTx(GridCacheVersion txId) |
GridCacheVersion |
IgniteTxManager.nearVersion(GridCacheVersion dhtVer)
Reverse mapped version look up.
|
GridCacheVersion |
IgniteInternalTx.nearXidVersion() |
GridCacheVersion |
IgniteTxAdapter.nearXidVersion() |
<T extends IgniteInternalTx> |
IgniteTxManager.onCreated(GridCacheContext cacheCtx,
T tx) |
UUID |
IgniteInternalTx.otherNodeId()
Gets ID of additional node involved.
|
GridCacheVersion |
IgniteInternalTx.ownedVersion(IgniteTxKey key)
Gets owned version for near remote transaction.
|
GridTuple<CacheObject> |
IgniteInternalTx.peek(GridCacheContext ctx,
boolean failFast,
KeyCacheObject key,
CacheEntryPredicate[] filter) |
GridTuple<CacheObject> |
IgniteTxLocalAdapter.peek(GridCacheContext cacheCtx,
boolean failFast,
KeyCacheObject key,
CacheEntryPredicate[] filter) |
GridCacheOperation |
IgniteTxEntry.previousOperation() |
CacheObject |
IgniteTxEntry.previousValue() |
IgniteInternalFuture<IgniteInternalTx> |
IgniteTxHandler.processNearTxFinishRequest(UUID nodeId,
GridNearTxFinishRequest req) |
<T> T |
IgniteInternalTx.removeMeta(UUID name)
Removes metadata by name.
|
GridNearTxRemote |
IgniteTxHandler.startNearRemoteTx(ClassLoader ldr,
UUID nodeId,
GridDhtTxPrepareRequest req)
Called while processing dht tx prepare request.
|
Map<UUID,Collection<UUID>> |
IgniteInternalTx.transactionNodes() |
Map<UUID,Collection<UUID>> |
IgniteTxAdapter.transactionNodes() |
Transaction |
IgniteTransactionsImpl.tx()
Gets transaction started by this thread or
null if this thread does
not have a transaction. |
<T extends IgniteInternalTx> |
IgniteTxManager.tx(GridCacheVersion txId) |
GridCacheVersion |
IgniteTxManager.txContextVersion()
Gets version of transaction in tx context or
null
if tx context is empty. |
IgniteInternalFuture<Boolean> |
IgniteTxManager.txsPreparedOrCommitted(GridCacheVersion nearVer,
int txNum)
Checks if transactions with given near version ID was prepared or committed.
|
IgniteInternalTx |
IgniteTxManager.userTx() |
IgniteInternalTx |
IgniteTxManager.userTx(GridCacheContext cctx) |
<T extends IgniteTxLocalEx> |
IgniteTxManager.userTxx() |
CacheObject |
IgniteTxEntry.value() |
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCacheExpiryPolicy |
IgniteTxLocalAdapter.accessPolicy(GridCacheContext ctx,
IgniteTxKey key,
javax.cache.expiry.ExpiryPolicy expiryPlc) |
boolean |
IgniteTxManager.addCommittedTx(GridCacheVersion xidVer,
GridCacheVersion nearXidVer) |
protected IgniteTxEntry |
IgniteTxLocalAdapter.addEntry(GridCacheOperation op,
CacheObject val,
javax.cache.processor.EntryProcessor entryProcessor,
Object[] invokeArgs,
GridCacheEntryEx entry,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean skipStore) |
protected IgniteTxEntry |
IgniteTxLocalAdapter.addEntry(GridCacheOperation op,
CacheObject val,
javax.cache.processor.EntryProcessor entryProcessor,
Object[] invokeArgs,
GridCacheEntryEx entry,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean skipStore) |
protected IgniteTxEntry |
IgniteTxLocalAdapter.addEntry(GridCacheOperation op,
CacheObject val,
javax.cache.processor.EntryProcessor entryProcessor,
Object[] invokeArgs,
GridCacheEntryEx entry,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean skipStore) |
protected IgniteTxEntry |
IgniteTxLocalAdapter.addEntry(GridCacheOperation op,
CacheObject val,
javax.cache.processor.EntryProcessor entryProcessor,
Object[] invokeArgs,
GridCacheEntryEx entry,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean skipStore) |
IgniteInternalFuture<T> |
IgniteTxLocalAdapter.PostLockClosure1.apply(Boolean locked,
Exception e)
Closure body.
|
IgniteInternalFuture<T> |
IgniteTxLocalAdapter.PostLockClosure2.apply(Boolean locked,
Exception e)
Closure body.
|
T |
IgniteTxLocalAdapter.FinishClosure.apply(T t,
Exception e)
Closure body.
|
void |
IgniteTxEntry.conflictVersion(GridCacheVersion conflictVer) |
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap,
boolean skipStore)
Internal routine for putAll(..)
|
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap,
boolean skipStore)
Internal routine for putAll(..)
|
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap,
boolean skipStore)
Internal routine for putAll(..)
|
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap,
boolean skipStore)
Internal routine for putAll(..)
|
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap,
boolean skipStore)
Internal routine for putAll(..)
|
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap,
boolean skipStore)
Internal routine for putAll(..)
|
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap,
boolean skipStore)
Internal routine for putAll(..)
|
void |
IgniteTxEntry.entryProcessors(Collection<T2<javax.cache.processor.EntryProcessor<Object,Object,Object>,Object[]>> entryProcessorsCol) |
void |
IgniteTxEntry.expiry(javax.cache.expiry.ExpiryPolicy expiryPlc) |
IgniteInternalFuture<IgniteInternalTx> |
IgniteTxHandler.finish(UUID nodeId,
GridNearTxLocal locTx,
GridNearTxFinishRequest req) |
<K,V> IgniteInternalFuture<Map<K,V>> |
IgniteTxLocalEx.getAllAsync(GridCacheContext cacheCtx,
Collection<KeyCacheObject> keys,
GridCacheEntryEx cached,
boolean deserializePortable,
boolean skipVals,
boolean keepCacheObjects,
boolean skipStore) |
<K,V> IgniteInternalFuture<Map<K,V>> |
IgniteTxLocalAdapter.getAllAsync(GridCacheContext cacheCtx,
Collection<KeyCacheObject> keys,
GridCacheEntryEx cached,
boolean deserializePortable,
boolean skipVals,
boolean keepCacheObjects,
boolean skipStore) |
<K,V,T> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.invokeAsync(GridCacheContext cacheCtx,
Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,Object>> map,
Object... invokeArgs) |
IgniteTxLocalAdapter |
IgniteTxManager.newTx(boolean implicit,
boolean implicitSingle,
GridCacheContext sysCacheCtx,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean storeEnabled,
int txSize) |
<T extends IgniteInternalTx> |
IgniteTxManager.onCreated(GridCacheContext cacheCtx,
T tx) |
GridTuple<CacheObject> |
IgniteInternalTx.peek(GridCacheContext ctx,
boolean failFast,
KeyCacheObject key,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<GridNearTxPrepareResponse> |
IgniteTxHandler.prepareTx(UUID nearNodeId,
GridNearTxLocal locTx,
GridNearTxPrepareRequest req) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalEx.putAllAsync(GridCacheContext cacheCtx,
Map<? extends K,? extends V> map,
boolean retval,
GridCacheEntryEx cached,
long ttl,
CacheEntryPredicate[] filter) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.putAllAsync(GridCacheContext cacheCtx,
Map<? extends K,? extends V> map,
boolean retval,
GridCacheEntryEx cached,
long ttl,
CacheEntryPredicate[] filter) |
void |
IgniteTxEntry.readValue(CacheObject val)
Sets read value if this tx entry does not have write value yet.
|
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalEx.removeAllAsync(GridCacheContext cacheCtx,
Collection<? extends K> keys,
GridCacheEntryEx cached,
boolean retval,
CacheEntryPredicate[] filter) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.removeAllAsync(GridCacheContext cacheCtx,
Collection<? extends K> keys,
GridCacheEntryEx cached,
boolean retval,
CacheEntryPredicate[] filter) |
void |
TxEntryValueHolder.value(CacheObject val) |
void |
IgniteTxEntry.value(CacheObject val,
boolean writeVal,
boolean readVal) |
| Constructor and Description |
|---|
IgniteTxAdapter(GridCacheSharedContext<?,?> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean loc,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
UUID subjId,
int taskNameHash) |
IgniteTxAdapter(GridCacheSharedContext<?,?> cctx,
UUID nodeId,
GridCacheVersion xidVer,
GridCacheVersion startVer,
long threadId,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
int txSize,
UUID subjId,
int taskNameHash) |
IgniteTxEntry(GridCacheContext<?,?> ctx,
IgniteInternalTx tx,
GridCacheOperation op,
CacheObject val,
long ttl,
long conflictExpireTime,
GridCacheEntryEx entry,
GridCacheVersion conflictVer,
boolean skipStore)
This constructor is meant for remote transactions.
|
IgniteTxLocalAdapter(GridCacheSharedContext cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
V |
GridCacheVersionConflictContext.mergeValue() |
V |
GridCacheVersionedEntry.value()
Gets entry's value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheVersionConflictContext.merge(V mergeVal,
long ttl)
Force cache to use neither old, nor new, but some other value passed as argument.
|
| Constructor and Description |
|---|
GridCachePlainVersionedEntry(K key,
V val,
long ttl,
long expireTime,
GridCacheVersion ver) |
GridCacheRawVersionedEntry(KeyCacheObject key,
CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver)
Constructor used for local store load when key and value are available.
|
| Modifier and Type | Method and Description |
|---|---|
CacheObject |
IgniteCacheObjectProcessor.prepareForCache(CacheObject obj,
GridCacheContext cctx)
Prepares cache object for cache (e.g. copies user-provided object if needed).
|
CacheObject |
IgniteCacheObjectProcessorImpl.prepareForCache(CacheObject obj,
GridCacheContext cctx)
Prepares cache object for cache (e.g. copies user-provided object if needed).
|
KeyCacheObject |
IgniteCacheObjectProcessorImpl.toCacheKeyObject(CacheObjectContext ctx,
Object obj,
boolean userObj) |
CacheObject |
IgniteCacheObjectProcessor.toCacheObject(CacheObjectContext ctx,
Object obj,
boolean userObj) |
CacheObject |
IgniteCacheObjectProcessorImpl.toCacheObject(CacheObjectContext ctx,
Object obj,
boolean userObj) |
Object |
IgniteCacheObjectProcessor.unwrapTemporary(GridCacheContext ctx,
Object obj)
Converts temporary off-heap object to heap-based.
|
| Modifier and Type | Method and Description |
|---|---|
CacheObject |
IgniteCacheObjectProcessor.prepareForCache(CacheObject obj,
GridCacheContext cctx)
Prepares cache object for cache (e.g. copies user-provided object if needed).
|
CacheObject |
IgniteCacheObjectProcessorImpl.prepareForCache(CacheObject obj,
GridCacheContext cctx)
Prepares cache object for cache (e.g. copies user-provided object if needed).
|
CacheObject |
IgniteCacheObjectProcessor.toCacheObject(CacheObjectContext ctx,
Object obj,
boolean userObj) |
CacheObject |
IgniteCacheObjectProcessorImpl.toCacheObject(CacheObjectContext ctx,
Object obj,
boolean userObj) |
protected CacheObject |
IgniteCacheObjectProcessorImpl.toCacheObject0(Object obj,
boolean userObj) |
Object |
IgniteCacheObjectProcessor.unwrapTemporary(GridCacheContext ctx,
Object obj)
Converts temporary off-heap object to heap-based.
|
| Modifier and Type | Method and Description |
|---|---|
static GridClosurePolicy |
GridClosurePolicy.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
| Constructor and Description |
|---|
GridPeerDeployAwareTaskAdapter(GridPeerDeployAware pda)
Constructor that receives deployment information for task.
|
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
StopRoutineAckDiscoveryMessage.ackMessage()
Called when custom message has been handled by all nodes.
|
DiscoveryCustomMessage |
StartRoutineAckDiscoveryMessage.ackMessage()
Called when custom message has been handled by all nodes.
|
DiscoveryCustomMessage |
StopRoutineDiscoveryMessage.ackMessage()
Called when custom message has been handled by all nodes.
|
Serializable |
GridContinuousProcessor.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
GridComponent.DiscoveryDataExchangeType |
GridContinuousProcessor.discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
IgniteUuid |
GridContinuousMessage.futureId() |
Object |
GridContinuousHandler.orderedTopic() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridContinuousProcessor.addNotification(UUID nodeId,
UUID routineId,
Object obj,
Object orderedTopic,
boolean sync,
boolean msg) |
void |
GridContinuousProcessor.addNotification(UUID nodeId,
UUID routineId,
Object obj,
Object orderedTopic,
boolean sync,
boolean msg) |
IgniteInternalFuture<UUID> |
GridContinuousProcessor.startRoutine(GridContinuousHandler hnd,
int bufSize,
long interval,
boolean autoUnsubscribe,
IgnitePredicate<ClusterNode> prjPred) |
| Modifier and Type | Method and Description |
|---|---|
String |
DataStreamerImpl.cacheName()
Name of cache to stream data to.
|
| Modifier and Type | Method and Description |
|---|---|
DataStreamerImpl<K,V> |
DataStreamProcessor.dataStreamer(String cacheName) |
protected static <K,V> void |
DataStreamerCacheUpdaters.updateAll(IgniteCache<K,V> cache,
Set<K> rmvCol,
Map<K,V> putMap)
Updates cache.
|
| Constructor and Description |
|---|
DataStreamerImpl(GridKernalContext ctx,
String cacheName,
DelayQueue<DataStreamerImpl<K,V>> flushQ) |
DataStreamerRequest(long reqId,
byte[] resTopicBytes,
String cacheName,
byte[] updaterBytes,
Collection<DataStreamerEntry> entries,
boolean ignoreDepOwnership,
boolean skipStore,
DeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,IgniteUuid> ldrParticipants,
IgniteUuid clsLdrId,
boolean forceLocDep,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
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> IgniteSet<T> |
DataStructuresProcessor.set(String name,
CollectionConfiguration cfg)
Gets a set from cache or creates one if it's not cached.
|
T |
GridCacheQueueProxy.take() |
T |
GridCacheQueueAdapter.take() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridCacheQueueAdapter.checkRemoved(GridCacheQueueHeader hdr)
Checks queue state, throws
IllegalStateException if queue was removed. |
void |
GridCacheAtomicLongImpl.onInvalid(Exception err) |
void |
GridCacheAtomicStampedImpl.onInvalid(Exception err) |
void |
GridCacheCountDownLatchImpl.onInvalid(Exception err) |
void |
GridCacheAtomicReferenceImpl.onInvalid(Exception err) |
void |
GridCacheRemovable.onInvalid(Exception err) |
void |
GridCacheAtomicSequenceImpl.onInvalid(Exception err) |
<T> IgniteQueue<T> |
DataStructuresProcessor.queue(String name,
int cap,
CollectionConfiguration cfg)
Gets a queue from cache or creates one if it's not cached.
|
<T> IgniteSet<T> |
DataStructuresProcessor.set(String name,
CollectionConfiguration cfg)
Gets a set from cache or creates one if it's not cached.
|
| Constructor and Description |
|---|
GridCacheQueueHeader(IgniteUuid id,
int cap,
boolean collocated,
long head,
long tail,
Set<Long> rmvIdxs) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<?> |
Hadoop.finishFuture(HadoopJobId jobId)
Gets Hadoop finish future for particular job.
|
static HadoopTaskType |
HadoopTaskType.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
HadoopInputSplit |
HadoopTaskInfo.inputSplit() |
Collection<HadoopInputSplit> |
HadoopMapReducePlan.mappers(UUID nodeId)
Gets collection of file blocks for which mappers should be executed.
|
String |
HadoopJobInfo.property(String name)
Gets optional configuration property for the job.
|
int[] |
HadoopMapReducePlan.reducers(UUID nodeId)
Gets reducer IDs that should be started on given node.
|
HadoopJobStatus |
Hadoop.status(HadoopJobId jobId)
Gets Hadoop job execution status.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
HadoopJobProperty.get(HadoopJobInfo jobInfo,
HadoopJobProperty pty,
String dflt) |
HadoopMapReducePlan |
HadoopMapReducePlanner.preparePlan(HadoopJob job,
Collection<ClusterNode> top,
HadoopMapReducePlan oldPlan)
Prepares map-reduce execution plan for the given job and topology.
|
Object |
HadoopSerialization.read(DataInput in,
Object obj)
Reads object from the given input optionally reusing given instance.
|
| Constructor and Description |
|---|
HadoopTaskInfo(HadoopTaskType type,
HadoopJobId jobId,
int taskNum,
int attempt,
HadoopInputSplit inputSplit)
Creates new task info.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteUuid |
IgfsFileInfo.affinityKey() |
String |
IgfsEx.clientLogDirectory()
Gets client file system log directory.
|
String |
IgfsAsyncImpl.clientLogDirectory()
Gets client file system log directory.
|
IgfsFileAffinityRange |
IgfsFileAffinityRange.concat(IgfsFileAffinityRange range)
Tries to concatenate this range with a given one.
|
ComputeJob |
IgfsProcessor.createJob(IgfsJob job,
String igfsName,
IgfsPath path,
long start,
long len,
IgfsRecordResolver recRslv)
Create compute job for the given IGFS job.
|
ComputeJob |
IgfsNoopProcessor.createJob(IgfsJob job,
String igfsName,
IgfsPath path,
long start,
long length,
IgfsRecordResolver recRslv)
Create compute job for the given IGFS job.
|
abstract ComputeJob |
IgfsProcessorAdapter.createJob(IgfsJob job,
String igfsName,
IgfsPath path,
long start,
long length,
IgfsRecordResolver recRslv)
Create compute job for the given IGFS job.
|
IgniteInternalFuture<byte[]> |
IgfsDataManager.dataBlock(IgfsFileInfo fileInfo,
IgfsPath path,
long blockIdx,
IgfsSecondaryFileSystemPositionedReadable secReader)
Get data block for specified file ID and block index.
|
protected IgniteInternalFuture<byte[]> |
IgfsInputStreamImpl.dataBlock(IgfsFileInfo fileInfo,
long blockIdx)
Get data block for specified block index.
|
Collection<IpcServerEndpoint> |
IgfsProcessor.endpoints(String name)
Gets server endpoints for particular IGFS.
|
IgniteUuid |
IgfsMetaManager.fileId(IgfsPath path)
Gets file ID for specified path.
|
IgniteUuid |
IgfsMetaManager.fileId(IgniteUuid parentId,
String fileName)
Gets file ID by its name from parent directory listing.
|
Boolean |
IgfsEx.globalSampling()
Get sampling state.
|
Boolean |
IgfsAsyncImpl.globalSampling()
Get sampling state.
|
Boolean |
IgfsImpl.globalSampling()
Get sampling state.
|
IgniteInternalFuture<IgfsMessage> |
IgfsServerHandler.handleAsync(IgfsClientSession ses,
IgfsMessage msg,
DataInput in)
Asynchronously handles incoming message.
|
IgniteFileSystem |
IgfsProcessor.igfs(String name)
Gets IGFS instance.
|
IgniteFileSystem |
IgfsNoopProcessor.igfs(String name)
Gets IGFS instance.
|
abstract IgniteFileSystem |
IgfsProcessorAdapter.igfs(String name)
Gets IGFS instance.
|
IgfsFile |
IgfsAsyncImpl.info(IgfsPath path)
Gets file information for the specified path.
|
IgfsFileInfo |
IgfsMetaManager.info(IgniteUuid fileId)
Gets file info by its ID.
|
IgniteUuid |
IgfsFileInfo.lockId()
Get lock ID.
|
List<T2<IgfsPath,IgfsMode>> |
IgfsModeResolver.modesOrdered() |
String |
IgfsAsyncImpl.name()
Gets IGFS name.
|
String |
IgfsImpl.name()
Gets IGFS name.
|
List<T2<IgfsPath,IgfsMode>> |
IgfsPaths.pathModes() |
IgfsFileInfo |
IgfsMetaManager.removeIfEmpty(IgniteUuid parentId,
String fileName,
IgniteUuid fileId,
IgfsPath path,
boolean rmvLocked)
Remove file from the file system structure.
|
<T> T |
IgfsClientSession.resource(Long rsrcId)
Gets registered resource by ID.
|
byte[] |
IgfsDataManager.storeDataBlocks(IgfsFileInfo fileInfo,
long reservedLen,
byte[] remainder,
int remainderLen,
ByteBuffer data,
boolean flush,
IgfsFileAffinityRange affinityRange,
IgfsFileWorkerBatch batch)
Store data blocks in file.
|
byte[] |
IgfsDataManager.storeDataBlocks(IgfsFileInfo fileInfo,
long reservedLen,
byte[] remainder,
int remainderLen,
DataInput in,
int len,
boolean flush,
IgfsFileAffinityRange affinityRange,
IgfsFileWorkerBatch batch)
Store data blocks in file.
|
IgfsFileInfo |
IgfsMetaManager.synchronizeFileDual(IgfsSecondaryFileSystem fs,
IgfsPath path)
Synchronizes with secondary file system.
|
IgfsFile |
IgfsAsyncImpl.update(IgfsPath path,
Map<String,String> props)
Updates file information for the specified path.
|
IgfsFileInfo |
IgfsMetaManager.updateInfo(IgniteUuid fileId,
IgniteClosure<IgfsFileInfo,IgfsFileInfo> c)
Update file info in cache.
|
IgfsFileInfo |
IgfsMetaManager.updateProperties(IgniteUuid parentId,
IgniteUuid fileId,
String fileName,
Map<String,String> props)
Update file info (file properties) in cache.
|
| Modifier and Type | Method and Description |
|---|---|
IgfsOutputStream |
IgfsAsyncImpl.append(IgfsPath path,
int bufSize,
boolean create,
Map<String,String> props)
Opens an output stream to an existing file for appending data.
|
IgfsOutputStream |
IgfsImpl.append(IgfsPath path,
int bufSize,
boolean create,
Map<String,String> props)
Opens an output stream to an existing file for appending data.
|
IgfsOutputStream |
IgfsAsyncImpl.create(IgfsPath path,
int bufSize,
boolean overwrite,
IgniteUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsOutputStream |
IgfsAsyncImpl.create(IgfsPath path,
int bufSize,
boolean overwrite,
IgniteUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsOutputStream |
IgfsImpl.create(IgfsPath path,
int bufSize,
boolean overwrite,
IgniteUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsOutputStream |
IgfsImpl.create(IgfsPath path,
int bufSize,
boolean overwrite,
IgniteUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsOutputStream |
IgfsAsyncImpl.create(IgfsPath path,
int bufSize,
boolean overwrite,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsOutputStream |
IgfsImpl.create(IgfsPath path,
int bufSize,
boolean overwrite,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
IgfsSecondaryOutputStreamDescriptor |
IgfsMetaManager.createDual(IgfsSecondaryFileSystem fs,
IgfsPath path,
boolean simpleCreate,
Map<String,String> props,
boolean overwrite,
int bufSize,
short replication,
long blockSize,
IgniteUuid affKey)
Create the file in DUAL mode.
|
ComputeJob |
IgfsProcessor.createJob(IgfsJob job,
String igfsName,
IgfsPath path,
long start,
long len,
IgfsRecordResolver recRslv)
Create compute job for the given IGFS job.
|
ComputeJob |
IgfsNoopProcessor.createJob(IgfsJob job,
String igfsName,
IgfsPath path,
long start,
long length,
IgfsRecordResolver recRslv)
Create compute job for the given IGFS job.
|
abstract ComputeJob |
IgfsProcessorAdapter.createJob(IgfsJob job,
String igfsName,
IgfsPath path,
long start,
long length,
IgfsRecordResolver recRslv)
Create compute job for the given IGFS job.
|
IgniteInternalFuture<byte[]> |
IgfsDataManager.dataBlock(IgfsFileInfo fileInfo,
IgfsPath path,
long blockIdx,
IgfsSecondaryFileSystemPositionedReadable secReader)
Get data block for specified file ID and block index.
|
Collection<IpcServerEndpoint> |
IgfsProcessor.endpoints(String name)
Gets server endpoints for particular IGFS.
|
Collection<IpcServerEndpoint> |
IgfsNoopProcessor.endpoints(String name)
Gets server endpoints for particular IGFS.
|
abstract Collection<IpcServerEndpoint> |
IgfsProcessorAdapter.endpoints(String name)
Gets server endpoints for particular IGFS.
|
<T,R> R |
IgfsAsyncImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsAsyncImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeSize,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeSize,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsAsyncImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgfsAsyncImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgfsImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgfsImpl.execute(Class<? extends IgfsTask<T,R>> taskCls,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgfsAsyncImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsAsyncImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes IGFS task with overridden maximum range length (see
FileSystemConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> R |
IgfsAsyncImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgfsAsyncImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgfsImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
<T,R> R |
IgfsImpl.execute(IgfsTask<T,R> task,
IgfsRecordResolver rslvr,
Collection<IgfsPath> paths,
T arg)
Executes IGFS task.
|
void |
IgfsAckMessage.finishUnmarshal(Marshaller marsh,
ClassLoader ldr) |
void |
IgfsCommunicationMessage.finishUnmarshal(Marshaller marsh,
ClassLoader ldr) |
void |
IgfsDeleteMessage.finishUnmarshal(Marshaller marsh,
ClassLoader ldr) |
static String |
IgfsUtils.fixUserName(String user)
Provides non-null user name.
|
void |
IgfsEx.globalSampling(Boolean val)
Enables, disables or clears sampling flag.
|
void |
IgfsAsyncImpl.globalSampling(Boolean val)
Enables, disables or clears sampling flag.
|
void |
IgfsImpl.globalSampling(Boolean val)
Enables, disables or clears sampling flag.
|
IgniteFileSystem |
IgfsProcessor.igfs(String name)
Gets IGFS instance.
|
IgniteFileSystem |
IgfsNoopProcessor.igfs(String name)
Gets IGFS instance.
|
abstract IgniteFileSystem |
IgfsProcessorAdapter.igfs(String name)
Gets IGFS instance.
|
IgfsFileInfo |
IgfsMetaManager.info(IgniteUuid fileId)
Gets file info by its ID.
|
void |
IgfsAsyncImpl.mkdirs(IgfsPath path,
Map<String,String> props)
Creates directories under specified path with the specified properties.
|
void |
IgfsImpl.mkdirs(IgfsPath path,
Map<String,String> props)
Creates directories under specified path with the specified properties.
|
IgniteUuid |
IgfsDataManager.nextAffinityKey(IgniteUuid prevAffKey)
Generates next affinity key for local node based on current topology.
|
String |
IgfsFileImpl.property(String name,
String dfltVal)
Get file's property for specified name.
|
byte[] |
IgfsDataManager.storeDataBlocks(IgfsFileInfo fileInfo,
long reservedLen,
byte[] remainder,
int remainderLen,
ByteBuffer data,
boolean flush,
IgfsFileAffinityRange affinityRange,
IgfsFileWorkerBatch batch)
Store data blocks in file.
|
byte[] |
IgfsDataManager.storeDataBlocks(IgfsFileInfo fileInfo,
long reservedLen,
byte[] remainder,
int remainderLen,
ByteBuffer data,
boolean flush,
IgfsFileAffinityRange affinityRange,
IgfsFileWorkerBatch batch)
Store data blocks in file.
|
byte[] |
IgfsDataManager.storeDataBlocks(IgfsFileInfo fileInfo,
long reservedLen,
byte[] remainder,
int remainderLen,
DataInput in,
int len,
boolean flush,
IgfsFileAffinityRange affinityRange,
IgfsFileWorkerBatch batch)
Store data blocks in file.
|
byte[] |
IgfsDataManager.storeDataBlocks(IgfsFileInfo fileInfo,
long reservedLen,
byte[] remainder,
int remainderLen,
DataInput in,
int len,
boolean flush,
IgfsFileAffinityRange affinityRange,
IgfsFileWorkerBatch batch)
Store data blocks in file.
|
IgfsFileInfo |
IgfsMetaManager.updateProperties(IgniteUuid parentId,
IgniteUuid fileId,
String fileName,
Map<String,String> props)
Update file info (file properties) in cache.
|
| Constructor and Description |
|---|
IgfsAckMessage(IgniteUuid fileId,
long id,
IgniteCheckedException err) |
IgfsBlockKey(IgniteUuid fileId,
IgniteUuid affKey,
boolean evictExclude,
long blockId)
Constructs file's binary data block key.
|
IgfsFileInfo(boolean isDir,
Map<String,String> props)
Constructs directory or file info with
default block size. |
IgfsFileInfo(int blockSize,
long len,
IgniteUuid affKey,
IgniteUuid lockId,
boolean evictExclude,
Map<String,String> props)
Constructs file info.
|
IgfsFileInfo(int blockSize,
long len,
IgniteUuid affKey,
IgniteUuid lockId,
boolean evictExclude,
Map<String,String> props)
Constructs file info.
|
IgfsFileInfo(int blockSize,
long len,
IgniteUuid affKey,
IgniteUuid lockId,
boolean evictExclude,
Map<String,String> props)
Constructs file info.
|
IgfsFileMap(IgfsFileMap old)
Constructs same file map as passed in.
|
IgfsModeResolver(IgfsMode dfltMode,
List<T2<IgfsPath,IgfsMode>> modes) |
IgfsPaths(Map<String,String> props,
IgfsMode dfltMode,
List<T2<IgfsPath,IgfsMode>> pathModes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GridJobWorker |
GridJobProcessor.activeJob(IgniteUuid jobId)
Gets active job.
|
ComputeJob |
GridJobWorker.getJob()
Gets deployed job or
null of job could not be deployed. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridJobProcessor.cancelJob(IgniteUuid sesId,
IgniteUuid jobId,
boolean sys) |
void |
GridJobProcessor.cancelJob(IgniteUuid sesId,
IgniteUuid jobId,
boolean sys) |
| Modifier and Type | Method and Description |
|---|---|
IgniteNodeValidationResult |
OsDiscoveryNodeValidationProcessor.validateNode(ClusterNode 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 |
|---|---|
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.
|
IgniteBiTuple<Long,Integer> |
GridOffHeapProcessor.valuePointer(String spaceName,
int part,
Object key,
byte[] keyBytes)
Gets value pointer 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.
|
void |
GridOffHeapProcessor.enableEviction(String spaceName,
int part,
Object key,
byte[] keyBytes)
Enables eviction for entry after
GridOffHeapProcessor.valuePointer(java.lang.String, int, java.lang.Object, byte[]) was called. |
long |
GridOffHeapProcessor.entriesCount(String spaceName)
Gets number of elements in the given space.
|
long |
GridOffHeapProcessor.entriesCount(String spaceName,
Set<Integer> parts)
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<IgniteBiTuple<byte[],byte[]>> |
GridOffHeapProcessor.iterator(String spaceName)
Gets iterator over contents of the given space.
|
<T> GridCloseableIterator<T> |
GridOffHeapProcessor.iterator(String spaceName,
CX2<T2<Long,Integer>,T2<Long,Integer>,T> c)
Gets iterator over contents of the given space.
|
<T> GridCloseableIterator<T> |
GridOffHeapProcessor.iterator(String spaceName,
CX2<T2<Long,Integer>,T2<Long,Integer>,T> c,
int part)
Gets iterator over contents of the given space.
|
GridCloseableIterator<IgniteBiTuple<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.
|
IgniteBiTuple<Long,Integer> |
GridOffHeapProcessor.valuePointer(String spaceName,
int part,
Object key,
byte[] keyBytes)
Gets value pointer from offheap space for the given key.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
IgnitePluginProcessor.collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
GridComponent.DiscoveryDataExchangeType |
IgnitePluginProcessor.discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
<T extends Extension> |
IgnitePluginProcessor.extensions(Class<T> extensionItf) |
<T extends PluginProvider> |
IgnitePluginProcessor.pluginProvider(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridQueryIndexing.onSwap(String spaceName,
CacheObject key)
Will be called when entry with given key is swapped.
|
void |
GridQueryProcessor.onUndeploy(String space,
ClassLoader ldr)
Removes index tables for all classes belonging to given class loader.
|
void |
GridQueryIndexing.onUnswap(String spaceName,
CacheObject key,
CacheObject val)
Will be called when entry with given key is unswapped.
|
<K,V> GridCloseableIterator<IgniteBiTuple<K,V>> |
GridQueryIndexing.query(String spaceName,
String qry,
Collection<Object> params,
GridQueryTypeDescriptor type,
IndexingQueryFilter filters)
Executes regular query.
|
GridQueryFieldsResult |
GridQueryProcessor.queryFields(String space,
String clause,
Collection<Object> params,
IndexingQueryFilter filters) |
GridQueryFieldsResult |
GridQueryIndexing.queryFields(String spaceName,
String qry,
Collection<Object> params,
IndexingQueryFilter filters)
Queries individual fields (generally used by JDBC drivers).
|
<K,V> GridCloseableIterator<IgniteBiTuple<K,V>> |
GridQueryIndexing.queryText(String spaceName,
String qry,
GridQueryTypeDescriptor type,
IndexingQueryFilter filters)
Executes text query.
|
void |
GridQueryIndexing.rebuildIndexes(String spaceName,
GridQueryTypeDescriptor type)
Rebuilds all indexes of given type.
|
IgniteInternalFuture<?> |
GridQueryProcessor.rebuildIndexes(String space,
String valTypeName)
Rebuilds all search indexes of given value type for given space of spi.
|
boolean |
GridQueryIndexing.registerType(String spaceName,
GridQueryTypeDescriptor desc)
Registers type if it was not known before or updates it otherwise.
|
void |
GridQueryIndexing.remove(String spaceName,
CacheObject key,
CacheObject val)
Removes index entry by key.
|
long |
GridQueryProcessor.size(String space,
Class<?> valType)
Returns number of objects of given type for given space of spi.
|
long |
GridQueryIndexing.size(String spaceName,
GridQueryTypeDescriptor desc,
IndexingQueryFilter filters)
Gets size of index for given type or -1 if it is a unknown type.
|
void |
GridQueryIndexing.store(String spaceName,
GridQueryTypeDescriptor type,
CacheObject key,
CacheObject val,
byte[] ver,
long expirationTime)
Updates index.
|
GridQueryTypeDescriptor |
GridQueryProcessor.type(String space,
String typeName)
Gets type descriptor for space and type name.
|
Collection<GridQueryTypeDescriptor> |
GridQueryProcessor.types(String space)
Gets types for space.
|
void |
GridQueryIndexing.unregisterType(String spaceName,
GridQueryTypeDescriptor type)
Unregisters type and removes all corresponding data.
|
| Constructor and Description |
|---|
GridQueryFieldsResultAdapter(List<GridQueryFieldMetadata> metaData,
GridCloseableIterator<List<?>> it)
Creates query field result composed of field metadata and iterator
over queried fields.
|
| 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.
|
| 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.
|
Long |
GridMemcachedMessage.delta() |
Long |
GridMemcachedMessage.expiration() |
Long |
GridMemcachedMessage.initial() |
GridClientMessage |
GridTcpRestParser.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. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridSecurityProcessor.authorize(String name,
SecurityPermission perm,
SecurityContext securityCtx)
Authorizes grid operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridOsSecurityProcessor.authorize(String name,
SecurityPermission perm,
SecurityContext securityCtx)
Authorizes grid operation.
|
| Modifier and Type | Method and Description |
|---|---|
<K> K |
ServiceContextImpl.affinityKey()
Gets affinity key used for key-to-node affinity calculation.
|
<K> K |
ServiceDescriptorImpl.affinityKey()
Gets affinity key used for key-to-node affinity calculation.
|
String |
ServiceContextImpl.cacheName()
Gets cache name used for key-to-node affinity calculation.
|
String |
ServiceDescriptorImpl.cacheName()
Gets cache name used for key-to-node affinity calculation.
|
| Modifier and Type | Method and Description |
|---|---|
GridTaskSessionImpl |
GridTaskSessionProcessor.getSession(IgniteUuid sesId) |
| Modifier and Type | Method and Description |
|---|---|
GridTaskSessionImpl |
GridTaskSessionProcessor.createTaskSession(IgniteUuid sesId,
UUID taskNodeId,
String taskName,
GridDeployment dep,
String taskClsName,
Collection<UUID> top,
long startTime,
long endTime,
Collection<ComputeJobSibling> siblings,
Map<Object,Object> attrs,
boolean fullSup,
UUID subjId) |
GridTaskSessionImpl |
GridTaskSessionProcessor.createTaskSession(IgniteUuid sesId,
UUID taskNodeId,
String taskName,
GridDeployment dep,
String taskClsName,
Collection<UUID> top,
long startTime,
long endTime,
Collection<ComputeJobSibling> siblings,
Map<Object,Object> attrs,
boolean fullSup,
UUID subjId) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridTaskProcessor.getThreadContext(GridTaskThreadContextKey key)
Gets thread-local context value for a given
key. |
<R> ComputeTaskInternalFuture<R> |
GridTaskProcessor.taskFuture(IgniteUuid sesId) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> ComputeTaskInternalFuture<R> |
GridTaskProcessor.execute(Class<? extends ComputeTask<T,R>> taskCls,
T arg) |
<T,R> ComputeTaskInternalFuture<R> |
GridTaskProcessor.execute(ComputeTask<T,R> task,
T arg) |
<T,R> ComputeTaskInternalFuture<R> |
GridTaskProcessor.execute(ComputeTask<T,R> task,
T arg,
boolean sys) |
<T,R> ComputeTaskInternalFuture<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 |
|---|---|
T |
GridCircularBuffer.add(T t) |
T |
GridCircularBuffer.add(T t,
IgniteInClosureX<T> c) |
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 |
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 |
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 Class<?> |
IgniteUtils.box(Class<?> cls)
Gets wrapper class for a primitive type.
|
static Class<?> |
IgniteUtils.classForName(String cls,
Class<?> dflt)
Gets class for the given name if it can be loaded or default given class.
|
Comparator<V> |
GridListSet.comparator()
Gets optional comparator for this set.
|
static Method |
IgniteUtils.ctorFactory()
Return SUN specific constructor factory.
|
static ClassLoader |
IgniteUtils.detectObjectClassLoader(Object obj)
Detects class loader for given object's class.
|
static Method |
IgniteUtils.findNonPublicMethod(Class<?> cls,
String name,
Class<?>... paramTypes)
Finds a method in the class and it parents.
|
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 |
IgniteUtils.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<?> |
IgniteUtils.forceEmptyConstructor(Class<?> cls)
Gets empty constructor for class even if the class does not have empty constructor
declared.
|
static <T> T |
IgniteUtils.forceNewInstance(Class<?> cls)
Creates new instance of a class even if it does not have public constructor.
|
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> |
IgniteUtils.getAnnotation(Class<?> cls,
Class<T> annCls)
Gets annotation for a class.
|
static String |
IgniteUtils.getIgniteHome()
Retrieves
IGNITE_HOME property. |
static String |
IgniteUtils.getNetworkInterfaceName(String addr)
Gets display name of the network interface this IP address belongs to.
|
static String |
IgniteUtils.hidePassword(String uri)
Replace password in URI string with a single '*' character.
|
static String |
IgniteUtils.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 |
IgniteUtils.newInstance(Class<T> cls)
Creates new instance of a class only if it has an empty constructor (can be non-public).
|
static <T> T |
IgniteUtils.newInstance(String 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,
IgnitePredicate<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[] |
IgniteUtils.readArray(ObjectInput in)
Reads array from input stream.
|
static boolean[] |
IgniteUtils.readBooleanArray(DataInput in)
Reads boolean array from input stream accounting for null values.
|
static byte[] |
IgniteUtils.readByteArray(DataInput in)
Reads byte array from input stream accounting for null values.
|
static List<Byte> |
IgniteUtils.readByteList(DataInput in)
// FIXME: added for DR dataCenterIds, review if it is needed after GG-6879.
|
static Class<?>[] |
IgniteUtils.readClassArray(ObjectInput in)
Reads array from input stream.
|
static <E> Collection<E> |
IgniteUtils.readCollection(ObjectInput in) |
static GridLongList |
GridLongList.readFrom(DataInput in) |
static IgniteUuid |
IgniteUtils.readGridUuid(byte[] arr,
long off) |
static IgniteUuid |
IgniteUtils.readGridUuid(DataInput in)
Reads
IgniteUuid from input stream. |
static IgniteUuid |
IgniteUtils.readGridUuid(long ptr) |
static List<IgniteUuid> |
IgniteUtils.readGridUuids(DataInput in)
Reads Grid UUIDs from input stream.
|
static int[] |
IgniteUtils.readIntArray(DataInput in)
Reads int array from input stream accounting for null values.
|
static Collection<Integer> |
IgniteUtils.readIntCollection(DataInput in) |
static Map<Integer,Integer> |
IgniteUtils.readIntKeyIntValueMap(DataInput in) |
static <V> Map<Integer,V> |
IgniteUtils.readIntKeyMap(ObjectInput in) |
static List<Integer> |
IgniteUtils.readIntList(DataInput in) |
static Set<Integer> |
IgniteUtils.readIntSet(DataInput in) |
static <K,V> LinkedHashMap<K,V> |
IgniteUtils.readLinkedMap(ObjectInput in) |
static <E> List<E> |
IgniteUtils.readList(ObjectInput in) |
static <K,V> Map<K,V> |
IgniteUtils.readMap(ObjectInput in) |
static <E> Set<E> |
IgniteUtils.readSet(ObjectInput in) |
static String |
IgniteUtils.readString(DataInput in)
Reads string from input stream accounting for
null values. |
static <K,V> TreeMap<K,V> |
IgniteUtils.readTreeMap(ObjectInput in) |
static UUID |
IgniteUtils.readUuid(DataInput in)
Reads UUID from input stream.
|
static List<UUID> |
IgniteUtils.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 |
IgniteUtils.resolveIgnitePath(String path)
Gets file associated with path.
|
static URL |
IgniteUtils.resolveIgniteUrl(String path)
Gets URL representing the path passed in.
|
static URL |
IgniteUtils.resolveIgniteUrl(String path,
boolean metaInf)
Gets URL representing the path passed in.
|
static Object |
IgniteUtils.sunReflectionFactory()
SUN JDK specific reflection factory for objects without public constructor.
|
<T> Object |
GridKeyLock.tryLock(T key) |
static <R> R |
IgniteUtils.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 |
IgniteUtils.wrapThreadLoader(ClassLoader ldr,
IgniteOutClosure<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,
IgniteInClosureX<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 |
IgniteUtils.addLastCause(Throwable e,
Throwable cause,
IgniteLogger log)
Adds cause to the end of cause chain.
|
static boolean |
IgniteUtils.addLastCause(Throwable e,
Throwable cause,
IgniteLogger 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> IgnitePredicate<T> |
F0.and(IgnitePredicate<? super T>[] p1,
IgnitePredicate<? super T>... p2)
Get a predicate (non peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> IgnitePredicate<T> |
F0.and(IgnitePredicate<? super T>[] p1,
IgnitePredicate<? super T>... p2)
Get a predicate (non peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> IgnitePredicate<T> |
F0.and(IgnitePredicate<? super T> p,
IgnitePredicate<? super T>... ps)
Get a predicate (not peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
static <T> IgnitePredicate<T> |
F0.and(IgnitePredicate<? super T> p,
IgnitePredicate<? super T>... ps)
Get a predicate (not peer-deployable) that evaluates to
true if each of its component predicates
evaluates to true. |
static CacheEntryPredicate |
F0.and0(CacheEntryPredicate[] p1,
CacheEntryPredicate... p2) |
static CacheEntryPredicate |
F0.and0(CacheEntryPredicate[] p1,
CacheEntryPredicate... p2) |
static CacheEntryPredicate |
F0.and0(CacheEntryPredicate p,
CacheEntryPredicate... ps) |
static CacheEntryPredicate |
F0.and0(CacheEntryPredicate p,
CacheEntryPredicate... ps) |
static <T extends R,R> |
IgniteUtils.arrayList(Collection<T> c,
IgnitePredicate<? super T>... p) |
static <T extends R,R> |
IgniteUtils.arrayList(Iterable<T> c,
int cap,
IgnitePredicate<? super T>... p) |
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<?> |
IgniteUtils.box(Class<?> cls)
Gets wrapper class for a primitive type.
|
static void |
IgniteUtils.cancel(GridWorker w)
Cancels given runnable.
|
static Class<?> |
IgniteUtils.classForName(String cls,
Class<?> dflt)
Gets class for the given name if it can be loaded or default given class.
|
static void |
IgniteUtils.close(AutoCloseable rsrc,
IgniteLogger log)
Closes given resource logging possible checked exception.
|
static void |
IgniteUtils.close(AutoCloseable rsrc,
IgniteLogger log)
Closes given resource logging possible checked exception.
|
static void |
IgniteUtils.close(Context rsrc,
IgniteLogger log)
Closes given resource logging possible checked exception.
|
static void |
IgniteUtils.close(Context rsrc,
IgniteLogger log)
Closes given resource logging possible checked exception.
|
static void |
IgniteUtils.close(DatagramSocket rsrc)
Closes given resource.
|
static void |
IgniteUtils.close(SelectionKey rsrc,
IgniteLogger log)
Closes given resource logging possible checked exceptions.
|
static void |
IgniteUtils.close(SelectionKey rsrc,
IgniteLogger log)
Closes given resource logging possible checked exceptions.
|
static void |
IgniteUtils.close(Selector rsrc,
IgniteLogger log)
Closes given resource logging possible checked exception.
|
static void |
IgniteUtils.close(Selector rsrc,
IgniteLogger log)
Closes given resource logging possible checked exception.
|
static void |
IgniteUtils.close(URLClassLoader clsLdr,
IgniteLogger log)
Closes class loader logging possible checked exception.
|
static void |
IgniteUtils.close(URLClassLoader clsLdr,
IgniteLogger log)
Closes class loader logging possible checked exception.
|
static void |
IgniteUtils.closeQuiet(AutoCloseable rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
IgniteUtils.closeQuiet(Context rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static void |
IgniteUtils.closeQuiet(SelectionKey rsrc)
Quietly closes given resource ignoring possible checked exceptions.
|
static void |
IgniteUtils.closeQuiet(Selector rsrc)
Quietly closes given resource ignoring possible checked exception.
|
static int |
IgniteUtils.compareVersionNumbers(String v1,
String v2)
Compare java implementation version
|
static int |
IgniteUtils.compareVersionNumbers(String v1,
String v2)
Compare java implementation version
|
static <T> IgnitePredicate<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 |
IgniteUtils.containsObjectArray(Object[] arr,
Collection<Object> c)
Checks for containment of the value in the array.
|
static boolean |
IgniteUtils.containsObjectArray(Object[] arr,
Collection<Object> c)
Checks for containment of the value in the array.
|
static boolean |
IgniteUtils.containsObjectArray(Object[] arr,
Object val,
Object... vals)
Checks for containment of the value in the array.
|
static boolean |
IgniteUtils.containsObjectArray(Object[] arr,
Object val,
Object... vals)
Checks for containment of the value in the array.
|
static boolean |
IgniteUtils.containsStringArray(String[] arr,
String val,
boolean ignoreCase)
Checks for containment of given string value in the specified array.
|
static boolean |
IgniteUtils.containsStringCollection(Iterable<String> c,
String val,
boolean ignoreCase)
Checks for containment of given string value in the specified collection.
|
static void |
IgniteUtils.courtesy(IgniteLogger 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.apache.ignite.CourtesyConfigNotice
category. |
static void |
IgniteUtils.courtesy(IgniteLogger 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.apache.ignite.CourtesyConfigNotice
category. |
static String |
IgniteUtils.customDirectoryLogFileName(String dir,
String fileName)
Substitutes log directory with a custom one.
|
static boolean |
IgniteUtils.delete(File file)
Deletes file or directory with all sub-directories and files.
|
static ClassLoader |
IgniteUtils.detectObjectClassLoader(Object obj)
Detects class loader for given object's class.
|
static void |
IgniteUtils.dumpStack(IgniteLogger log,
String msg) |
static void |
IgniteUtils.dumpThreads(IgniteLogger 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> IgnitePredicate<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 |
IgniteUtils.error(IgniteLogger 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 |
IgniteUtils.error(IgniteLogger 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 |
IgniteUtils.error(IgniteLogger 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 |
IgniteUtils.error(IgniteLogger log,
Object shortMsg,
Throwable e)
|
static void |
IgniteUtils.error(IgniteLogger log,
Object shortMsg,
Throwable e)
|
static void |
GridLogThrottle.error(IgniteLogger log,
Throwable e,
String msg)
Logs error if needed.
|
static void |
GridLogThrottle.error(IgniteLogger log,
Throwable e,
String msg)
Logs error if needed.
|
static IgniteCheckedException |
IgniteUtils.exceptionWithSuppressed(String msg,
Collection<Throwable> suppressed)
Creates
IgniteCheckedException with the collection of suppressed exceptions. |
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
IgniteLogger log,
IgniteInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
IgniteLogger log,
IgniteInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
IgniteLogger log,
IgniteInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
IgniteLogger log,
IgniteInClosure<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,
IgniteLogger log,
IgniteInClosure<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,
IgniteLogger log,
IgniteInClosure<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,
IgniteLogger log,
IgniteInClosure<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,
IgniteLogger log,
IgniteInClosure<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(String clsName,
String params,
IgniteLogger log,
IgniteInClosure<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(String clsName,
String params,
IgniteLogger log,
IgniteInClosure<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(String clsName,
String params,
IgniteLogger log,
IgniteInClosure<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(String clsName,
String params,
IgniteLogger log,
IgniteInClosure<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(String clsName,
String params,
IgniteLogger log,
IgniteInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
static <T> T |
IgniteUtils.firstNotNull(T... vals)
Returns a first non-null value in a given array, if such is present.
|
static Class<?> |
IgniteUtils.forName(String clsName,
ClassLoader ldr)
Gets class for provided name.
|
Lock |
GridStripedLock.getLock(Object o)
Returns lock for object.
|
ReadWriteLock |
GridStripedReadWriteLock.getLock(Object o)
Returns lock for object.
|
static Collection<UUID> |
IgniteUtils.gridIds(Collection<? extends Ignite> grids)
Converts collection of Grid instances to collection of node IDs.
|
static Collection<String> |
IgniteUtils.grids2names(Collection<? extends Ignite> grids)
Converts collection of Grid instances to collection of grid names.
|
static boolean |
IgniteUtils.hasParent(ClassLoader parent,
ClassLoader ldr) |
static String |
IgniteUtils.hidePassword(String uri)
Replace password in URI string with a single '*' character.
|
static <T> IgnitePredicate<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(IgniteLogger log,
String msg)
Logs info if needed.
|
static void |
IgniteUtils.interrupt(Thread t)
Convenience method that interrupts a given thread if it's not
null. |
static <T> T |
IgniteUtils.invoke(Class<?> cls,
Object obj,
String mtdName,
Class[] paramTypes,
Object... params)
Invokes method.
|
static <T> T |
IgniteUtils.invoke(Class<?> cls,
Object obj,
String mtdName,
Class[] paramTypes,
Object... params)
Invokes method.
|
static <T> T |
IgniteUtils.invoke(Class<?> cls,
Object obj,
String mtdName,
Object... params)
Invokes method.
|
static <T> T |
IgniteUtils.invoke(Class<?> cls,
Object obj,
String mtdName,
Object... params)
Invokes method.
|
static boolean |
F0.isAllNodePredicates(IgnitePredicate<?>... ps)
Tests if all passed in predicates are instances of
GridNodePredicate class. |
static boolean |
F0.isAllNodePredicates(Iterable<? extends IgnitePredicate<?>> ps)
Tests if all passed in predicates are instances of
GridNodePredicate class. |
static boolean |
IgniteUtils.isLoadableBy(String clsName,
ClassLoader ldr)
Tests whether or not given class is loadable provided class loader.
|
static boolean |
IgniteUtils.join(GridWorker w,
IgniteLogger log)
Joins runnable.
|
static boolean |
IgniteUtils.join(GridWorker w,
IgniteLogger log)
Joins runnable.
|
static boolean |
IgniteUtils.join(Thread t,
IgniteLogger log)
Waits for completion of a given thread.
|
static boolean |
IgniteUtils.join(Thread t,
IgniteLogger log)
Waits for completion of a given thread.
|
static boolean |
IgniteUtils.joinThreads(Iterable<? extends Thread> workers,
IgniteLogger log)
Waits for completion of a given threads.
|
void |
GridStripedLock.lock(Object o)
Locks an object.
|
static void |
IgniteUtils.log(IgniteLogger 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 |
IgniteUtils.log(IgniteLogger 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 |
IgniteUtils.makeCacheMBeanName(String gridName,
String cacheName,
String name)
Constructs JMX object name with given properties.
|
static ObjectName |
IgniteUtils.makeCacheMBeanName(String gridName,
String cacheName,
String name)
Constructs JMX object name with given properties.
|
static ObjectName |
IgniteUtils.makeMBeanName(String gridName,
String grp,
String name)
Constructs JMX object name with given properties.
|
static ObjectName |
IgniteUtils.makeMBeanName(String gridName,
String grp,
String name)
Constructs JMX object name with given properties.
|
static String |
IgniteUtils.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,
IgnitePredicate<N>... p)
Gets node for a given key.
|
N |
GridConsistentHash.node(Object key,
IgnitePredicate<N>... p)
Gets node for a given key.
|
static Collection<UUID> |
IgniteUtils.nodeIds(Collection<? extends ClusterNode> 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,
IgnitePredicate<N>... p)
Gets specified count of adjacent nodes for a given key.
|
List<N> |
GridConsistentHash.nodes(Object key,
int cnt,
IgnitePredicate<N>... p)
Gets specified count of adjacent nodes for a given key.
|
static Collection<String> |
IgniteUtils.nodes2names(Collection<? extends ClusterNode> nodes)
Converts collection of grid nodes to collection of grid names.
|
static <T> IgnitePredicate<T> |
F0.not(IgnitePredicate<? super T>... p)
Negates given predicates.
|
static <T> IgnitePredicate<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> IgnitePredicate<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> IgnitePredicate<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 ClusterNode |
IgniteUtils.oldest(Collection<ClusterNode> c,
IgnitePredicate<ClusterNode> p)
Gets oldest node out of collection of nodes.
|
static GridPeerDeployAware |
IgniteUtils.peerDeployAware0(Iterable<?> c)
Gets the peer deploy aware instance for the object with the widest class loader.
|
static GridPeerDeployAware |
IgniteUtils.peerDeployAware0(Object... c)
Gets the peer deploy aware instance for the object with the widest class loader.
|
static <T> ObjectName |
IgniteUtils.registerCacheMBean(MBeanServer mbeanSrv,
String gridName,
String cacheName,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
IgniteUtils.registerCacheMBean(MBeanServer mbeanSrv,
String gridName,
String cacheName,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
IgniteUtils.registerMBean(MBeanServer mbeanSrv,
String gridName,
String grp,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
IgniteUtils.registerMBean(MBeanServer mbeanSrv,
String gridName,
String grp,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static <T> ObjectName |
IgniteUtils.registerMBean(MBeanServer mbeanSrv,
String gridName,
String grp,
String name,
T impl,
Class<T> itf)
Registers MBean with the server.
|
static void |
IgniteUtils.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 |
IgniteUtils.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 |
IgniteUtils.rollbackConnection(Connection rsrc,
IgniteLogger log)
Rollbacks JDBC connection logging possible checked exception.
|
static void |
IgniteUtils.rollbackConnection(Connection rsrc,
IgniteLogger log)
Rollbacks JDBC connection logging possible checked exception.
|
static void |
IgniteUtils.rollbackConnectionQuiet(Connection rsrc)
Quietly rollbacks JDBC connection ignoring possible checked exception.
|
static void |
IgniteUtils.setIgniteHome(String path) |
static void |
IgniteUtils.setWorkDirectory(String userWorkDir,
String userIgniteHome) |
static void |
IgniteUtils.setWorkDirectory(String userWorkDir,
String userIgniteHome) |
static void |
IgniteUtils.shutdownNow(Class<?> owner,
ExecutorService exec,
IgniteLogger log)
Shutdowns given
ExecutorService and wait for executor service to stop. |
static void |
IgniteUtils.shutdownNow(Class<?> owner,
ExecutorService exec,
IgniteLogger log)
Shutdowns given
ExecutorService and wait for executor service to stop. |
static int[] |
IgniteUtils.toIntArray(Collection<Integer> c)
Converts collection of integers into array.
|
static List<Integer> |
IgniteUtils.toIntList(int[] arr,
IgnitePredicate<Integer>... p)
Converts array of integers into list.
|
static long[] |
IgniteUtils.toLongArray(Collection<Long> c)
Converts collection of integers into array.
|
static List<Long> |
IgniteUtils.toLongList(long[] arr)
Converts array of longs into list.
|
void |
GridStripedLock.unlock(Object o)
Unlocks an object.
|
static void |
IgniteUtils.unzip(File zipFile,
File toDir,
IgniteLogger log)
Unzip file to folder.
|
static byte[] |
IgniteUtils.uuidToBytes(UUID uuid)
Converts an UUID to byte array.
|
static int |
IgniteUtils.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 |
IgniteUtils.warn(IgniteLogger 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 |
IgniteUtils.warn(IgniteLogger 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(IgniteLogger log,
Throwable e,
String msg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(IgniteLogger log,
Throwable e,
String msg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(IgniteLogger log,
Throwable e,
String longMsg,
String shortMsg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(IgniteLogger log,
Throwable e,
String longMsg,
String shortMsg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(IgniteLogger log,
Throwable e,
String longMsg,
String shortMsg)
Logs warning if needed.
|
static <E extends Throwable> |
IgniteUtils.withCause(E e,
Throwable cause)
Utility method that sets cause into exception and returns it.
|
static void |
IgniteUtils.writeBooleanArray(DataOutput out,
boolean[] arr)
Writes boolean array to output stream accounting for null values.
|
static void |
IgniteUtils.writeByteArray(DataOutput out,
byte[] arr)
Writes byte array to output stream accounting for null values.
|
static void |
IgniteUtils.writeByteArray(DataOutput out,
byte[] arr,
int maxLen)
Writes byte array to output stream accounting for null values.
|
static long |
IgniteUtils.writeGridUuid(byte[] arr,
long off,
IgniteUuid uid) |
static void |
IgniteUtils.writeGridUuids(DataOutput out,
Collection<IgniteUuid> col)
Writes Grid UUIDs to output stream.
|
static void |
IgniteUtils.writeIntArray(DataOutput out,
int[] arr)
Writes int array to output stream accounting for null values.
|
static void |
IgniteUtils.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 |
IgniteUtils.writeUTFStringNullable(DataOutput out,
String val)
Write UTF string which can be
null. |
static void |
IgniteUtils.writeUuids(DataOutput out,
Collection<UUID> col)
Writes UUIDs to output stream.
|
static ClusterNode |
IgniteUtils.youngest(Collection<ClusterNode> c,
IgnitePredicate<ClusterNode> p)
Gets youngest node out of collection of nodes.
|
| 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(IgnitePredicate<Field> fp,
IgnitePredicate<Method> mp)
Reflection cache with specified field and method predicates.
|
GridReflectionCache(IgnitePredicate<Field> fp,
IgnitePredicate<Method> mp)
Reflection cache with specified field and method predicates.
|
| Modifier and Type | Method and Description |
|---|---|
protected R |
GridFutureAdapter.get0(long nanosTimeout) |
IgniteReducer<T,R> |
GridCompoundFuture.reducer()
Gets optional reducer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCompoundFuture.addAll(IgniteInternalFuture<T>... futs)
Adds futures to this compound future.
|
void |
GridCompoundFuture.addAll(Iterable<IgniteInternalFuture<T>> futs)
Adds futures to this compound future.
|
boolean |
GridFutureAdapter.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 |
GridFutureAdapter.onDone(Throwable err)
Callback to notify that future is finished.
|
void |
GridCompoundFuture.reducer(IgniteReducer<T,R> rdc)
Sets optional reducer.
|
| Constructor and Description |
|---|
GridCompoundFuture(IgniteReducer<T,R> rdc) |
GridCompoundFuture(IgniteReducer<T,R> rdc,
Iterable<IgniteInternalFuture<T>> futs) |
GridCompoundFuture(IgniteReducer<T,R> rdc,
Iterable<IgniteInternalFuture<T>> futs) |
GridCompoundIdentityFuture(GridKernalContext ctx,
IgniteReducer<T,T> rdc) |
| 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 |
IpcServerEndpoint.getHost()
Gets host endpoint is bound to.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
IpcSharedMemoryInitResponse.error() |
String |
IpcSharedMemoryServerEndpoint.getHost()
Gets host endpoint is bound to.
|
String |
IpcSharedMemoryInitResponse.inTokenFileName() |
String |
IpcSharedMemoryInitResponse.outTokenFileName() |
| Constructor and Description |
|---|
IpcOutOfSystemResourcesException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
IpcSharedMemoryOperationTimedoutException(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(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(UUID name,
V val)
Adds a new metadata.
|
<V> V |
GridMetadataAwareAdapter.addMetaIfAbsent(UUID name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
static <T,R> R |
GridFunc.awaitAll(long timeout,
IgniteReducer<T,R> rdc,
Collection<IgniteInternalFuture<T>> futs)
Awaits for all futures to complete and optionally reduces all results into one.
|
static <V> V |
GridFunc.find(Iterable<? extends V> c,
V dfltVal,
IgnitePredicate<? super V>... p)
Finds and returns first element in given collection for which any of the
provided predicates evaluates to
true. |
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(Iterable<? extends D> c,
B b,
IgniteBiClosure<? super D,? super B,B>... fs)
Folds-right given collection using provided closure.
|
V |
GridTuple.get()
Gets value.
|
V1 |
GridTuple3.get1()
Gets first value.
|
V1 |
GridTuple5.get1()
Gets first value.
|
V1 |
GridTuple4.get1()
Gets first value.
|
V1 |
GridTuple6.get1()
Gets first value.
|
V2 |
GridTuple3.get2()
Gets second value.
|
V2 |
GridTuple5.get2()
Gets second value.
|
V2 |
GridTuple4.get2()
Gets second value.
|
V2 |
GridTuple6.get2()
Gets second value.
|
V3 |
GridTuple3.get3()
Gets third value.
|
V3 |
GridTuple5.get3()
Gets third value.
|
V3 |
GridTuple4.get3()
Gets third value.
|
V3 |
GridTuple6.get3()
Gets third value.
|
V4 |
GridTuple5.get4()
Gets forth value.
|
V4 |
GridTuple4.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(UUID name)
Gets metadata by name.
|
<V> V |
GridMetadataAwareAdapter.putMetaIfAbsent(UUID name,
V val)
Adds given metadata value only if it was absent.
|
<V> V |
GridMetadataAwareAdapter.removeMeta(UUID 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(UUID name,
Callable<V> c)
Adds given metadata value only if it was absent.
|
static <T> IgnitePredicate<T> |
GridFunc.and(IgnitePredicate<? super T>... ps)
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<IgniteInternalFuture<T>> futs)
Waits until all passed futures will be executed.
|
static <T> void |
GridFunc.awaitAll(long timeout,
Collection<IgniteInternalFuture<T>> futs)
Waits until all passed futures will be executed.
|
static <T,R> R |
GridFunc.awaitAll(long timeout,
IgniteReducer<T,R> rdc,
Collection<IgniteInternalFuture<T>> futs)
Awaits for all futures to complete and optionally reduces all results into one.
|
static <T,R> R |
GridFunc.awaitAll(long timeout,
IgniteReducer<T,R> rdc,
Collection<IgniteInternalFuture<T>> futs)
Awaits for all futures to complete and optionally reduces all results into one.
|
boolean |
IgniteReducer2.collect(E1 e1,
E2 e2)
Collects given values.
|
boolean |
IgniteReducer2.collect(E1 e1,
E2 e2)
Collects given values.
|
boolean |
IgniteReducer3.collect(E1 e1,
E2 e2,
E3 e3)
Collects given values.
|
boolean |
IgniteReducer3.collect(E1 e1,
E2 e2,
E3 e3)
Collects given values.
|
boolean |
IgniteReducer3.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 IgniteReducer<String,String> |
GridFunc.concatReducer(String delim)
Gets reducer closure that concatenates strings using provided delimiter.
|
static <T> IgnitePredicate<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,
IgnitePredicate<? super T>... p)
Adds (copies) to given collection using provided predicates.
|
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 <K,V> boolean |
GridFunc.eqNotOrdered(Map<K,V> m1,
Map<K,V> m2)
Compares two maps.
|
static <K,V> boolean |
GridFunc.eqNotOrdered(Map<K,V> m1,
Map<K,V> m2)
Compares two maps.
|
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> IgnitePredicate<T> |
GridFunc.equalTo(T target)
Gets predicate that evaluates to
true if its free variable is equal
to target or both are null. |
static <V> boolean |
GridFunc.exist(Iterable<? extends V> c,
IgnitePredicate<? super V>... p)
Checks for existence of the element in input collection for which all provided predicates
evaluate to
true. |
static <T> List<T> |
GridFunc.filterList(List<T> c,
boolean cp,
IgnitePredicate<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,
IgnitePredicate<? 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,
IgnitePredicate<? 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,
IgniteClosure<? super V,Y> f,
IgnitePredicate<? 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,
IgniteClosure<? super V,Y> f,
IgnitePredicate<? super V>... p)
Finds, transforms and returns first element in given collection 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 <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 <T> Iterator<T> |
GridFunc.flatIterators(Iterable<Iterator<T>> c)
Flattens iterable-of-iterators and returns iterator over the
elements of the inner collections.
|
static <D,B> B |
GridFunc.fold(Iterable<? extends D> c,
B b,
IgniteBiClosure<? 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,
IgniteBiClosure<? super D,? super B,B>... fs)
Folds-right given collection using provided closure.
|
static <V> boolean |
GridFunc.forAll(Iterable<? extends V> c,
IgnitePredicate<? 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,
IgnitePredicate<? 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.forAny(Iterable<? extends V> c,
IgnitePredicate<? 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 <X> void |
GridFunc.forEach(Iterable<? extends X> c,
IgniteInClosure<? super X> f,
IgnitePredicate<? super X>... p)
Calls given
side-effect only closure over the each element of the provided
collection. |
static <X> void |
GridFunc.forEach(X[] c,
IgniteInClosure<? super X> f,
IgnitePredicate<? super X>... p)
Calls given
side-effect only closure over the each element of the provided array. |
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 <T> boolean |
GridFunc.isAll(T t,
IgnitePredicate<? super T>... p)
Tests if all provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAll(T t,
IgnitePredicate<? super T>... p)
Tests if all provided predicates evaluate to
true for given value. |
static boolean |
GridFunc.isAlwaysFalse(IgnitePredicate[] p)
Tests whether or not given set of predicates consists only of one predicate returned from
GridFunc.alwaysFalse() method. |
static boolean |
GridFunc.isAlwaysTrue(IgnitePredicate[] 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,
IgnitePredicate<? super T>... p)
Tests if any of provided predicates evaluate to
true for given value. |
static <T> boolean |
GridFunc.isAny(T t,
IgnitePredicate<? super T>... p)
Tests if any of provided predicates evaluate to
true for given value. |
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,
IgniteClosure<? super T1,T2> trans,
boolean readOnly,
IgnitePredicate<? super T1>... p)
Creates and returns transforming iterator from given collection and optional
filtering predicates.
|
static <T1,T2> Iterator<T2> |
GridFunc.iterator(Iterator<? extends T1> c,
IgniteClosure<? super T1,T2> trans,
boolean readOnly,
IgnitePredicate<? super T1>... p) |
static <T> Collection<T> |
GridFunc.jobResults(Collection<? extends ComputeJobResult> 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,
IgnitePredicate<? 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,
IgnitePredicate<? 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,
IgnitePredicate<? 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 <K,V> Map<K,V> |
GridFunc.loseValues(Map<K,V> m,
boolean cp,
IgnitePredicate<? super V>... p)
Loses all entries in input map which values are evaluated to
true by all
given predicates. |
static <T extends ClusterNode> |
GridFunc.nodeForNodeIds(Collection<UUID> nodeIds)
Creates grid node predicate evaluating on the given node IDs.
|
static Collection<String> |
GridFunc.nodeId8s(Collection<? extends ClusterNode> nodes)
Convenient utility method that returns collection of node ID8s for a given
collection of grid nodes.
|
static Collection<UUID> |
GridFunc.nodeIds(Collection<? extends ClusterNode> nodes)
Convenient utility method that returns collection of node IDs for a given
collection of grid nodes.
|
static <T> IgnitePredicate<T> |
GridFunc.not(IgnitePredicate<? super T>... p)
Negates given predicates.
|
static <T> IgnitePredicate<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> IgnitePredicate<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> IgnitePredicate<T> |
GridFunc.notIn(Collection<? extends T> c)
Gets predicate that returns
true if its free variable is not
contained in given collection. |
static <T> IgnitePair<T> |
GridFunc.pair(T t1,
T t2)
Creates pair out of given two objects.
|
static <T> IgnitePair<T> |
GridFunc.pair(T t1,
T t2)
Creates pair out of given two objects.
|
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,
IgnitePredicate<? super T>... p)
Retains all elements in input collection that are evaluated to
true
by all given 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 |
GridTuple3.set1(V1 val1)
Sets first value.
|
void |
GridTuple5.set1(V1 v1)
Sets first value.
|
void |
GridTuple4.set1(V1 val1)
Sets first value.
|
void |
GridTuple6.set1(V1 v1)
Sets first value.
|
void |
GridTuple3.set2(V2 val2)
Sets second value.
|
void |
GridTuple5.set2(V2 v2)
Sets second value.
|
void |
GridTuple4.set2(V2 val2)
Sets second value.
|
void |
GridTuple6.set2(V2 v2)
Sets second value.
|
void |
GridTuple3.set3(V3 val3)
Sets third value.
|
void |
GridTuple5.set3(V3 v3)
Sets third value.
|
void |
GridTuple4.set3(V3 val3)
Sets third value.
|
void |
GridTuple6.set3(V3 v3)
Sets third value.
|
void |
GridTuple5.set4(V4 v4)
Sets forth value.
|
void |
GridTuple4.set4(V4 val4)
Sets fourth 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,
IgnitePredicate<? super T>... p)
Gets size of the given collection with provided optional predicates.
|
static <T> int |
GridFunc.size(Collection<? extends T> c,
IgnitePredicate<? super T>... p)
Gets size of the given collection with provided optional predicates.
|
static <T> int |
GridFunc.size(Iterator<? extends T> it,
IgnitePredicate<? super T>... p)
Gets size of the given iterator with provided optional predicates.
|
static <T> int |
GridFunc.size(Iterator<? extends T> it,
IgnitePredicate<? super T>... p)
Gets size of the given iterator with provided optional predicates.
|
static <V> GridTuple<V> |
GridFunc.t(V v)
Factory method returning new tuple with given parameter.
|
static <V1,V2> IgniteBiTuple<V1,V2> |
GridFunc.t(V1 v1,
V2 v2)
Factory method returning new tuple with given parameters.
|
static <V1,V2> IgniteBiTuple<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 <T1,T2> List<T2> |
GridFunc.transformList(Collection<? extends T1> c,
IgniteClosure<? super T1,T2> trans,
IgnitePredicate<? super T1>... p)
Creates a view on given list with provided transformer and predicates.
|
static <T> Collection<T> |
GridFunc.view(Collection<T> c,
IgnitePredicate<? super T>... p)
Creates write-through light-weight view on given collection with provided predicates.
|
static <T> Collection<T> |
GridFunc.view(Collection<T> c,
IgnitePredicate<? 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,
IgnitePredicate<? 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,
IgnitePredicate<? 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,
IgniteClosure<? super K,V> mapClo,
IgnitePredicate<? super K>... p)
Read-only map view of a collection.
|
static <K0,K extends K0,V0,V extends V0> |
GridFunc.viewAsMap(Set<K> c,
IgniteClosure<? super K,V> mapClo,
IgnitePredicate<? super K>... p)
Read-only map view of a collection.
|
static <T1,T2> List<T2> |
GridFunc.viewListReadOnly(List<? extends T1> c,
IgniteClosure<? 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,
IgniteClosure<? super T1,T2> trans,
IgnitePredicate<? 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,
IgniteClosure<? super T1,T2> trans,
IgnitePredicate<? 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,
IgniteBiClosure<K,V,V1> trans,
IgnitePredicate<? 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,
IgniteBiClosure<K,V,V1> trans,
IgnitePredicate<? 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,
IgniteClosure<V,V1> trans,
IgnitePredicate<? 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,
IgniteClosure<V,V1> trans,
IgnitePredicate<? super K>... p)
Read-only view on map that supports transformation of values and key filtering.
|
| Constructor and Description |
|---|
GridNodePredicate(ClusterNode... nodes)
Creates node predicate that evaluates to
true for all
provided nodes. |
GridNodePredicate(Collection<UUID> ids)
Creates node predicate that evaluates to
true for all
provided node IDs. |
GridNodePredicate(UUID... ids)
Creates node predicate that evaluates to
true for all
provided node IDs. |
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.
|
IgnitePair(T t1,
T t2)
Creates pair with given objects.
|
IgnitePair(T t1,
T t2)
Creates pair with given objects.
|
| 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.
|
InetSocketAddress |
GridNioSession.localAddress()
Gets local address of this session.
|
InetSocketAddress |
GridNioSessionImpl.localAddress()
Gets local address of this session.
|
MessageFactory |
GridNioMessageReader.messageFactory() |
<T> T |
GridNioSession.meta(int key)
Gets metadata associated with specified key.
|
byte[] |
GridNioServerBuffer.read(ByteBuffer buf) |
byte[] |
GridNioDelimitedBuffer.read(ByteBuffer buf) |
GridNioRecoveryDescriptor |
GridNioSession.recoveryDescriptor() |
GridNioRecoveryDescriptor |
GridNioSessionImpl.recoveryDescriptor() |
InetSocketAddress |
GridNioSession.remoteAddress()
Gets address of remote peer on this session.
|
InetSocketAddress |
GridNioSessionImpl.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 |
GridNioSession.addMeta(int key,
T val)
Adds metadata associated with specified key.
|
<T> T |
GridNioSessionImpl.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) |
boolean |
GridNioRecoveryDescriptor.nodeAlive(ClusterNode node) |
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 |
GridNioMessageReader.read(UUID nodeId,
Message msg,
ByteBuffer buf) |
boolean |
GridShmemCommunicationClient.sendMessage(UUID nodeId,
Message msg) |
boolean |
GridCommunicationClient.sendMessage(UUID nodeId,
Message msg) |
boolean |
GridTcpNioCommunicationClient.sendMessage(UUID nodeId,
Message msg) |
GridNioFuture<?> |
GridNioServer.sendSystem(GridNioSession ses,
Message msg,
IgniteInClosure<? super IgniteInternalFuture<?>> lsnr)
Adds message at the front of the queue without acquiring back pressure semaphore.
|
boolean |
GridNioMessageWriter.write(UUID nodeId,
Message msg,
ByteBuffer buf) |
int |
GridNioMessageWriter.writeFully(UUID nodeId,
Message 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.
|
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<IgniteRemoteStartSpecification>> |
IgniteNodeStartUtils.specifications(Collection<Map<String,Object>> hosts,
Map<String,Object> dflts)
Makes specifications.
|
| Constructor and Description |
|---|
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger logger) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger logger) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger logger) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger logger) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger logger) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger logger) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger logger) |
IgniteRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String igniteHome,
String cfg,
String script,
IgniteLogger 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.
|
IgniteBiTuple<Long,Integer> |
GridOffHeapMap.valuePointer(int hash,
byte[] keyBytes)
Gets value pointer for given key.
|
IgniteBiTuple<Long,Integer> |
GridOffHeapPartitionedMap.valuePointer(int p,
int hash,
byte[] keyBytes)
Gets value pointer for given key.
|
| Modifier and Type | Method and Description |
|---|---|
<T> GridCloseableIterator<T> |
GridOffHeapMap.iterator(CX2<T2<Long,Integer>,T2<Long,Integer>,T> c)
Gets iterator over map.
|
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 |
|---|---|
IgniteBiTuple<Long,Integer> |
GridUnsafeMap.valuePointer(int hash,
byte[] keyBytes)
Gets value pointer for given key.
|
| 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.
|
| 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.hasSuppressed(Throwable t,
Class<? extends Throwable> cls)
Checks if passed throwable has given class in one of the suppressed exceptions.
|
static boolean |
X.hasSuppressed(Throwable t,
Class<? extends Throwable> cls)
Checks if passed throwable has given class in one of the suppressed exceptions.
|
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<IgniteFuture<?>> futs)
Synchronously waits for all futures in the collection.
|
| Constructor and Description |
|---|
GridWorker(String gridName,
String name,
IgniteLogger log)
Creates new grid worker with given parameters.
|
GridWorker(String gridName,
String name,
IgniteLogger log,
GridWorkerListener lsnr)
Creates new grid worker with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
VisorJob.execute()
Executes this job.
|
R |
VisorMultiNodeTask.reduce(List<ComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
ComputeTaskFuture.get() method. |
protected abstract R |
VisorMultiNodeTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected R |
VisorOneNodeTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract R |
VisorJob.run(A arg)
Execution logic of concrete job.
|
| Constructor and Description |
|---|
VisorJob(A arg,
boolean debug)
Create job with specified argument.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
VisorCacheAffinityConfiguration.excludeNeighbors() |
String |
VisorCacheEvictionConfiguration.filter() |
String |
VisorCacheConfiguration.interceptor() |
String |
VisorCacheConfiguration.name() |
Integer |
VisorCacheNearConfiguration.nearEvictMaxSize() |
String |
VisorCacheNearConfiguration.nearEvictPolicy() |
GridDhtPartitionMap |
VisorCache.partitionMap() |
String |
VisorCacheEvictionConfiguration.policy() |
Integer |
VisorCacheEvictionConfiguration.policyMaxSize() |
protected Iterable<VisorCacheAggregatedMetrics> |
VisorCacheMetricsCollectorTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected Map<UUID,IgniteException> |
VisorCacheStartTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
String |
VisorCacheStoreConfiguration.store() |
String |
VisorCacheConfiguration.transactionManagerLookupClassName() |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
VisorComputeToggleMonitoringTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected Void |
VisorComputeCancelSessionsTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
| Modifier and Type | Method and Description |
|---|---|
String |
VisorGridEvent.message() |
| Constructor and Description |
|---|
VisorGridDeploymentEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
String msg,
String shortDisplay,
String alias)
Create event with given parameters.
|
VisorGridDiscoveryEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
String msg,
String shortDisplay,
UUID evtNodeId,
String addr,
boolean isDaemon)
Create event with given parameters.
|
VisorGridEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
String msg,
String shortDisplay)
Create event with given parameters.
|
VisorGridJobEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
String msg,
String shortDisplay,
String taskName,
String taskClsName,
IgniteUuid taskSesId,
IgniteUuid jobId)
Create event with given parameters.
|
VisorGridTaskEvent(int typeId,
IgniteUuid id,
String name,
UUID nid,
long ts,
String msg,
String shortDisplay,
String taskName,
String taskClsName,
IgniteUuid taskSesId,
boolean internal)
Create event with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
VisorIgfsEndpoint.hostName() |
String |
VisorIgfsEndpoint.igfsName() |
| Constructor and Description |
|---|
VisorIgfsEndpoint(String igfsName,
String gridName,
String hostName,
int port)
Create IGFS endpoint descriptor with given parameters.
|
VisorIgfsEndpoint(String igfsName,
String gridName,
String hostName,
int port)
Create IGFS endpoint descriptor with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected IgniteBiTuple<Iterable<IgniteBiTuple<Exception,UUID>>,Iterable<VisorLogSearchResult>> |
VisorLogSearchTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends ComputeJob,ClusterNode> |
VisorNopTask.map(List<ClusterNode> subgrid,
Integer arg)
This method is called to map or split grid task into multiple grid jobs.
|
Void |
VisorNopTask.reduce(List<ComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
ComputeTaskFuture.get() method. |
protected Void |
VisorAckTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends ComputeJob,ClusterNode> |
VisorNopTask.map(List<ClusterNode> subgrid,
Integer arg)
This method is called to map or split grid task into multiple grid jobs.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
VisorRestConfiguration.accessibleFolders() |
String |
VisorLifecycleConfiguration.beans() |
String |
VisorIgfsConfiguration.dataCacheName() |
String |
VisorBasicConfiguration.ggHome() |
String |
VisorBasicConfiguration.gridName() |
String |
VisorIgfsConfiguration.ipcEndpointConfiguration() |
String |
VisorRestConfiguration.jettyHost() |
String |
VisorRestConfiguration.jettyPath() |
Integer |
VisorRestConfiguration.jettyPort() |
String |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.keyOrder() |
String |
VisorBasicConfiguration.localHost() |
String |
VisorBasicConfiguration.mBeanServer() |
String |
VisorIgfsConfiguration.metaCacheName() |
String |
VisorIgfsConfiguration.name() |
String |
VisorPeerToPeerConfiguration.p2pLocalClassPathExclude() |
Map<String,IgfsMode> |
VisorIgfsConfiguration.pathModes() |
protected Void |
VisorNodeStopTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected Void |
VisorNodeRestartTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected VisorNodeDataCollectorTaskResult |
VisorNodeDataCollectorTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected Map<UUID,IgniteBiTuple<Long,Long>> |
VisorNodeGcTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected Map<UUID,IgniteBiTuple<Long,List<IgniteExceptionRegistry.ExceptionInfo>>> |
VisorNodeSuppressedErrorsTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
protected GridTuple3<Boolean,Long,Long> |
VisorNodePingTask.reduce0(List<ComputeJobResult> results)
Actual reduce logic.
|
String |
VisorSegmentationConfiguration.resolvers() |
String |
VisorIgfsConfiguration.secondaryHadoopFileSystemConfigPath() |
String |
VisorIgfsConfiguration.secondaryHadoopFileSystemUri() |
String |
VisorIgfsConfiguration.secondaryHadoopFileSystemUserName() |
String |
VisorRestConfiguration.tcpHost() |
Integer |
VisorRestConfiguration.tcpPort() |
String |
VisorRestConfiguration.tcpSslContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.createEventsArg(int[] typeArg,
Long timeArg) |
static VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.createEventsArg(int[] typeArg,
Long timeArg) |
static VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.createLogArg(String keyOrder,
int[] typeArg) |
static VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.createLogArg(String keyOrder,
int[] typeArg) |
static VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.createTasksArg(Long timeArg,
String taskName,
IgniteUuid taskSesId) |
static VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.createTasksArg(Long timeArg,
String taskName,
IgniteUuid taskSesId) |
static VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg.createTasksArg(Long timeArg,
String taskName,
IgniteUuid taskSesId) |
| Constructor and Description |
|---|
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
IgniteUuid taskSesId) |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
IgniteUuid taskSesId) |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
IgniteUuid taskSesId) |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
IgniteUuid taskSesId) |
VisorNodeEventsCollectorTask.VisorNodeEventsCollectorTaskArg(String keyOrder,
int[] typeArg,
Long timeArg,
String taskName,
IgniteUuid taskSesId) |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
VisorQueryCleanupTask.reduce0(List list)
Actual reduce logic.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<? extends ComputeJob,ClusterNode> |
VisorQueryCleanupTask.map0(List<ClusterNode> subgrid,
VisorTaskArgument<Map<UUID,Collection<String>>> arg)
Actual map logic.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
VisorTaskUtils.compactArray(Object[] arr)
Joins array elements to string.
|
static String |
VisorTaskUtils.compactClass(Object obj)
Compact class names.
|
static Object |
VisorTaskUtils.compactObject(Object obj)
Returns compact class host.
|
static String |
VisorMimeTypes.getContentType(byte[] data,
String name) |
static String |
VisorMimeTypes.getContentType(File f) |
static String |
VisorMimeTypes.guessContentTypeFromName(String name) |
| Modifier and Type | Method and Description |
|---|---|
static String |
VisorTaskUtils.compactClass(Object obj)
Compact class names.
|
static String |
VisorTaskUtils.escapeName(String name) |
static Integer |
VisorTaskUtils.evictionPolicyMaxSize(EvictionPolicy plc)
Extract max size from eviction policy if available.
|
static List<VisorLogFile> |
VisorTaskUtils.fileTree(File file,
int maxDepth,
FileFilter filter)
Finds all files in folder and in it's sub-tree of specified depth.
|
static void |
VisorTaskUtils.log(IgniteLogger log,
String msg)
Log message.
|
static long |
VisorTaskUtils.log(IgniteLogger log,
String msg,
Class<?> clazz,
long start)
Log message.
|
static void |
VisorTaskUtils.logFinish(IgniteLogger log,
Class<?> clazz,
long start)
Log finished.
|
static void |
VisorTaskUtils.logMapped(IgniteLogger log,
Class<?> clazz,
Collection<ClusterNode> nodes)
Log task mapped.
|
static void |
VisorTaskUtils.logStart(IgniteLogger log,
Class<?> clazz,
long start)
Log start.
|
static Process |
VisorTaskUtils.openInConsole(File workFolder,
String... args)
Run command in separated console.
|
static boolean |
VisorTaskUtils.safeEquals(String a,
String b) |
static boolean |
VisorTaskUtils.safeEquals(String a,
String b) |
| Modifier and Type | Method and Description |
|---|---|
V2 |
IgniteBiTuple.get(Object key) |
V1 |
IgniteBiTuple.getKey() |
V2 |
IgniteBiTuple.getValue() |
V2 |
IgniteBiTuple.put(V1 key,
V2 val) |
V2 |
IgniteBiTuple.remove(Object key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IgniteReducer.collect(E e)
Collects given value.
|
void |
IgniteBiTuple.set(V1 val1,
V2 val2)
Sets both values in the tuple.
|
void |
IgniteBiTuple.set(V1 val1,
V2 val2)
Sets both values in the tuple.
|
void |
IgniteBiTuple.set1(V1 val1)
Sets first value.
|
void |
IgniteBiTuple.set2(V2 val2)
Sets second value.
|
V2 |
IgniteBiTuple.setValue(V2 val) |
| Constructor and Description |
|---|
IgniteBiTuple(V1 val1,
V2 val2)
Fully initializes this tuple.
|
IgniteBiTuple(V1 val1,
V2 val2)
Fully initializes this tuple.
|
IgniteFutureCancelledException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
IgniteFutureTimeoutException(String msg,
Throwable cause)
Creates a new exception with given error message and optional nested cause exception.
|
| Modifier and Type | Method and Description |
|---|---|
static LifecycleEventType |
LifecycleEventType.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
| Modifier and Type | Method and Description |
|---|---|
String |
NullLogger.fileName()
Gets name of the file being logged to if one is configured or
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
void |
NullLogger.error(String msg,
Throwable e)
Logs error message with optional exception.
|
void |
NullLogger.warning(String msg,
Throwable e)
Logs out warning message with optional exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JavaLoggerFileHandler.fileName()
Returns current log file.
|
String |
JavaLogger.fileName()
Gets name of the file being logged to if one is configured or
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaLogger.error(String msg,
Throwable e)
Logs error message with optional exception.
|
void |
JavaLogger.warning(String msg,
Throwable e)
Logs out warning message with optional exception.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
AbstractMarshaller.marshal(Object obj)
Marshals object to byte array.
|
byte[] |
Marshaller.marshal(Object obj)
Marshals object to byte array.
|
void |
Marshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
<T> T |
AbstractMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
Marshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
Marshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JdkMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
<T> T |
JdkMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
OptimizedMarshaller.marshal(Object obj)
Marshals object to byte array.
|
void |
OptimizedMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
<T> T |
OptimizedMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
OptimizedMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MessagingListenActor.respond(Object respMsg)
Responds to the original sender node with given message and continues to listen for the new messages.
|
protected void |
MessagingListenActor.respond(UUID id,
Object respMsg)
Responds to the provided node with given message and continues to listen for the new messages.
|
protected void |
MessagingListenActor.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.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
CachePluginProvider.createComponent(Class<T> cls) |
<T> T |
PluginProvider.createComponent(PluginContext ctx,
Class<T> cls)
Creates Ignite component.
|
Serializable |
PluginProvider.provideDiscoveryData(UUID nodeId)
Gets plugin discovery data object that will be sent to the new node
during discovery process.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
MessageFactory.create(byte type)
Creates new message instance of provided type.
|
static MessageCollectionItemType |
MessageCollectionItemType.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
| Modifier and Type | Method and Description |
|---|---|
static SecuritySubjectType |
SecuritySubjectType.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static SecurityPermission |
SecurityPermission.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
Object |
SecurityCredentials.getUserObject()
Gets user-specific object.
|
Collection<SecurityPermission> |
SecurityPermissionSet.systemPermissions()
Collection of system-wide permissions (events enable/disable, Visor task execution).
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityCredentials.setUserObject(Object userObj)
Sets user-specific object.
|
| Constructor and Description |
|---|
SecurityCredentials(String login,
String password,
Object userObj)
Constructs security credentials based on
login, password,
and custom user object. |
SecurityException(String msg,
Throwable cause)
Constructs security grid exception with given message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
<K> K |
ServiceDescriptor.affinityKey()
Gets affinity key used for key-to-node affinity calculation.
|
<K> K |
ServiceContext.affinityKey()
Gets affinity key used for key-to-node affinity calculation.
|
String |
ServiceDescriptor.cacheName()
Gets cache name used for key-to-node affinity calculation.
|
String |
ServiceContext.cacheName()
Gets cache name used for key-to-node affinity calculation.
|
| Modifier and Type | Method and Description |
|---|---|
static IgnitePortProtocol |
IgnitePortProtocol.fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
<K,V> V |
IgniteSpiContext.get(String cacheName,
K key)
Gets object from cache.
|
ClusterNode |
IgniteSpiContext.node(UUID nodeId)
Gets a node instance based on its ID.
|
<K,V> V |
IgniteSpiContext.put(String cacheName,
K key,
V val,
long ttl)
Puts object in cache.
|
<K,V> V |
IgniteSpiContext.putIfAbsent(String cacheName,
K key,
V val,
long ttl)
Puts object into cache if there was no previous object associated with
given key.
|
<K,V> V |
IgniteSpiContext.remove(String cacheName,
K key)
Removes object from cache.
|
IgniteNodeValidationResult |
IgniteSpiContext.validateNode(ClusterNode 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 |
|---|---|
void |
IgniteSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Constructor and Description |
|---|
IgniteSpiMultiException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
IgniteSpiMultiException(String msg,
Throwable cause,
Collection<Throwable> nestedCauses)
Creates new exception with given error message and optional nested exception.
|
IgniteSpiMultiException(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[] |
CheckpointSpi.loadCheckpoint(String key)
Loads checkpoint from storage by its unique key.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
CacheCheckpointSpi.loadCheckpoint(String key)
Loads checkpoint from storage by its unique key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheCheckpointSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
NoopCheckpointSpi.loadCheckpoint(String key)
Loads checkpoint from storage by its unique key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NoopCheckpointSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CollisionSpi.setExternalCollisionListener(CollisionExternalListener lsnr)
Listener to be set for notification of external collision events (e.g. job stealing).
|
| Modifier and Type | Method and Description |
|---|---|
void |
NoopCollisionSpi.setExternalCollisionListener(CollisionExternalListener lsnr)
Listener to be set for notification of external collision events (e.g. job stealing).
|
void |
NoopCollisionSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommunicationSpi.setListener(CommunicationListener<T> lsnr)
Set communication listener.
|
| Modifier and Type | Method and Description |
|---|---|
protected GridCommunicationClient |
TcpCommunicationSpi.createNioClient(ClusterNode node) |
protected GridCommunicationClient |
TcpCommunicationSpi.createShmemClient(ClusterNode node,
Integer port) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentSpi.setListener(DeploymentListener lsnr)
Sets or unsets deployment event listener.
|
| Modifier and Type | Method and Description |
|---|---|
DeploymentResource |
LocalDeploymentSpi.findResource(String rsrcName)
Finds class loader for the given class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalDeploymentSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
DiscoverySpiCustomMessage |
DiscoverySpiCustomMessage.ackMessage()
Called when message passed the ring.
|
ClusterNode |
DiscoverySpi.getNode(UUID nodeId)
Gets node by ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DiscoverySpiListener.onDiscovery(int type,
long topVer,
ClusterNode node,
Collection<ClusterNode> topSnapshot,
Map<Long,Collection<ClusterNode>> topHist,
DiscoverySpiCustomMessage data)
Notification for grid node discovery events.
|
void |
DiscoverySpiListener.onDiscovery(int type,
long topVer,
ClusterNode node,
Collection<ClusterNode> topSnapshot,
Map<Long,Collection<ClusterNode>> topHist,
DiscoverySpiCustomMessage data)
Notification for grid node discovery events.
|
void |
DiscoverySpi.setListener(DiscoverySpiListener lsnr)
Sets a listener for discovery events.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
TcpDiscoverySpiMBean.getCoordinator()
Gets current coordinator.
|
UUID |
TcpDiscoverySpi.getCoordinator()
Gets current coordinator.
|
ClusterNode |
TcpDiscoverySpi.getNode(UUID nodeId)
Gets node by ID.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
TcpDiscoverySpi.readMessage(Socket sock,
InputStream in,
long timeout)
Reads message from the socket limiting read time.
|
void |
TcpDiscoverySpi.setListener(DiscoverySpiListener lsnr)
Sets a listener for discovery events.
|
void |
TcpDiscoverySpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.coordinator()
Finds coordinator in the topology.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.coordinator(Collection<TcpDiscoveryNode> excluded)
Finds coordinator in the topology filtering excluded nodes from the search.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.nextNode()
Finds next node in the topology.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.nextNode(Collection<TcpDiscoveryNode> excluded)
Finds next node in the topology filtering excluded nodes from search.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.node(UUID nodeId)
Finds node by ID.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.previousNode()
Finds previous node in the topology.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.previousNode(Collection<TcpDiscoveryNode> excluded)
Finds previous node in the topology filtering excluded nodes from search.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.removeNode(UUID nodeId)
Removes node from the topology.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TcpDiscoveryNode.compareTo(TcpDiscoveryNode node) |
TcpDiscoveryNode |
TcpDiscoveryNodesRing.coordinator(Collection<TcpDiscoveryNode> excluded)
Finds coordinator in the topology filtering excluded nodes from the search.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.nextNode(Collection<TcpDiscoveryNode> excluded)
Finds next node in the topology filtering excluded nodes from search.
|
TcpDiscoveryNode |
TcpDiscoveryNodesRing.previousNode(Collection<TcpDiscoveryNode> excluded)
Finds previous node in the topology filtering excluded nodes from search.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
TcpDiscoveryPingRequest.clientNodeId() |
IgniteUuid |
TcpDiscoveryNodeAddedMessage.discardedMessageId()
Gets discarded message ID.
|
DiscoverySpiCustomMessage |
TcpDiscoveryCustomEventMessage.message(Marshaller marsh) |
Collection<TcpDiscoveryAbstractMessage> |
TcpDiscoveryNodeAddedMessage.messages()
Gets pending messages sent to new node by its previous.
|
UUID |
TcpDiscoveryClientPingResponse.nodeToPing() |
UUID |
TcpDiscoveryClientPingRequest.nodeToPing() |
Collection<TcpDiscoveryNode> |
TcpDiscoveryNodeAddedMessage.topology()
Gets topology.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TcpDiscoveryNodeAddFinishedMessage.clientDiscoData(Map<UUID,Map<Integer,byte[]>> clientDiscoData) |
void |
TcpDiscoveryCustomEventMessage.message(DiscoverySpiCustomMessage msg,
byte[] msgBytes) |
void |
TcpDiscoveryNodeAddedMessage.messages(Collection<TcpDiscoveryAbstractMessage> msgs,
IgniteUuid discardMsgId)
Sets pending messages to send to new node.
|
void |
TcpDiscoveryNodeAddedMessage.messages(Collection<TcpDiscoveryAbstractMessage> msgs,
IgniteUuid discardMsgId)
Sets pending messages to send to new node.
|
void |
TcpDiscoveryNodeAddedMessage.topology(Collection<TcpDiscoveryNode> top)
Sets topology.
|
void |
TcpDiscoveryNodeAddedMessage.topologyHistory(Map<Long,Collection<ClusterNode>> topHist)
Sets topology snapshots history.
|
| Constructor and Description |
|---|
TcpDiscoveryClientPingRequest(UUID creatorNodeId,
UUID nodeToPing) |
TcpDiscoveryClientPingResponse(UUID creatorNodeId,
UUID nodeToPing,
boolean res) |
TcpDiscoveryCustomEventMessage(UUID creatorNodeId,
DiscoverySpiCustomMessage msg,
byte[] msgBytes) |
TcpDiscoveryPingRequest(UUID creatorNodeId,
UUID clientNodeId) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> IgniteBiPredicate<K,V> |
IndexingQueryFilter.forSpace(String spaceName)
Creates optional predicate for space.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> IgniteBiPredicate<K,V> |
IndexingQueryFilter.forSpace(String spaceName)
Creates optional predicate for space.
|
void |
IndexingSpi.onSwap(String spaceName,
Object key)
Will be called when entry with given key is swapped.
|
void |
IndexingSpi.onUnswap(String spaceName,
Object key,
Object val)
Will be called when entry with given key is unswapped.
|
Iterator<javax.cache.Cache.Entry<?,?>> |
IndexingSpi.query(String spaceName,
Collection<Object> params,
IndexingQueryFilter filters)
Executes query.
|
Iterator<javax.cache.Cache.Entry<?,?>> |
IndexingSpi.query(String spaceName,
Collection<Object> params,
IndexingQueryFilter filters)
Executes query.
|
void |
IndexingSpi.remove(String spaceName,
Object key)
Removes index entry by key.
|
void |
IndexingSpi.store(String spaceName,
Object key,
Object val,
long expirationTime)
Updates index.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NoopIndexingSpi.onSwap(String spaceName,
Object key)
Will be called when entry with given key is swapped.
|
void |
NoopIndexingSpi.onUnswap(String spaceName,
Object key,
Object val)
Will be called when entry with given key is unswapped.
|
Iterator<javax.cache.Cache.Entry<?,?>> |
NoopIndexingSpi.query(String spaceName,
Collection<Object> params,
IndexingQueryFilter filters)
Executes query.
|
Iterator<javax.cache.Cache.Entry<?,?>> |
NoopIndexingSpi.query(String spaceName,
Collection<Object> params,
IndexingQueryFilter filters)
Executes query.
|
void |
NoopIndexingSpi.remove(String spaceName,
Object key)
Removes index entry by key.
|
void |
NoopIndexingSpi.spiStart(String gridName)
This method is called to start SPI.
|
void |
NoopIndexingSpi.store(String spaceName,
Object key,
Object val,
long expirationTime)
Updates index.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AdaptiveLoadBalancingSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RoundRobinLoadBalancingSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WeightedRandomLoadBalancingSpi.spiStart(String gridName)
This method is called to start SPI.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
SwapKey.keyBytes() |
<K> IgniteSpiCloseableIterator<K> |
SwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
SwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
SwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
SwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
SwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SwapSpaceSpi.clear(String spaceName)
Entirely clears data space with given name, if any.
|
long |
SwapSpaceSpi.count(String spaceName)
Gets number of stored entries (keys) in data space with given name.
|
long |
SwapSpaceSpi.count(String spaceName,
Set<Integer> parts)
Gets number of stored entries (keys) in data space with given name.
|
<K> IgniteSpiCloseableIterator<K> |
SwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
void |
SwapSpaceSpiListener.onSwapEvent(int evtType,
String spaceName,
byte[] keyBytes,
byte[] valBytes)
Notification for swap space events.
|
void |
SwapSpaceSpiListener.onSwapEvent(int evtType,
String spaceName,
byte[] keyBytes,
byte[] valBytes)
Notification for swap space events.
|
void |
SwapSpaceSpiListener.onSwapEvent(int evtType,
String spaceName,
byte[] keyBytes,
byte[] valBytes)
Notification for swap space events.
|
Collection<Integer> |
SwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
SwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
SwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
SwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<SwapKey,byte[]> |
SwapSpaceSpi.readAll(String spaceName,
Iterable<SwapKey> keys,
SwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
SwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
SwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
SwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
SwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
SwapSpaceSpi.setListener(SwapSpaceSpiListener evictLsnr)
Sets eviction listener to receive notifications on evicted swap entries.
|
long |
SwapSpaceSpi.size(String spaceName)
Gets size in bytes for data space with given name.
|
void |
SwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
SwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
SwapSpaceSpi.storeAll(String spaceName,
Map<SwapKey,byte[]> pairs,
SwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
| Constructor and Description |
|---|
SwapKey(Object key,
int part,
byte[] keyBytes) |
| Modifier and Type | Method and Description |
|---|---|
<K> IgniteSpiCloseableIterator<K> |
FileSwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
FileSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
FileSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
FileSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
FileSwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileSwapSpaceSpi.clear(String spaceName)
Entirely clears data space with given name, if any.
|
long |
FileSwapSpaceSpi.count(String spaceName)
Gets number of stored entries (keys) in data space with given name.
|
long |
FileSwapSpaceSpi.count(String spaceName,
Set<Integer> parts)
Gets number of stored entries (keys) in data space with given name.
|
<K> IgniteSpiCloseableIterator<K> |
FileSwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
FileSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
FileSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
FileSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
FileSwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<SwapKey,byte[]> |
FileSwapSpaceSpi.readAll(String spaceName,
Iterable<SwapKey> keys,
SwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
FileSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
FileSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
FileSwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
FileSwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
FileSwapSpaceSpi.setListener(SwapSpaceSpiListener evictLsnr)
Sets eviction listener to receive notifications on evicted swap entries.
|
long |
FileSwapSpaceSpi.size(String spaceName)
Gets size in bytes for data space with given name.
|
void |
FileSwapSpaceSpi.spiStart(String gridName)
This method is called to start SPI.
|
void |
FileSwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
FileSwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
FileSwapSpaceSpi.storeAll(String spaceName,
Map<SwapKey,byte[]> pairs,
SwapContext 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[] |
NoopSwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NoopSwapSpaceSpi.clear(String space)
Entirely clears data space with given name, if any.
|
long |
NoopSwapSpaceSpi.count(String space)
Gets number of stored entries (keys) in data space with given name.
|
long |
NoopSwapSpaceSpi.count(String spaceName,
Set<Integer> parts)
Gets number of stored entries (keys) in data space with given name.
|
<K> IgniteSpiCloseableIterator<K> |
NoopSwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
Collection<Integer> |
NoopSwapSpaceSpi.partitions(String spaceName)
Gets partitions IDs that are stored in the passed in space.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
NoopSwapSpaceSpi.rawIterator(String spaceName)
Gets raw iterator over space entries.
|
IgniteSpiCloseableIterator<Map.Entry<byte[],byte[]>> |
NoopSwapSpaceSpi.rawIterator(String spaceName,
int part)
Gets raw iterator over space entries.
|
byte[] |
NoopSwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<SwapKey,byte[]> |
NoopSwapSpaceSpi.readAll(String spaceName,
Iterable<SwapKey> keys,
SwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
NoopSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
NoopSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
NoopSwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
NoopSwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
NoopSwapSpaceSpi.setListener(SwapSpaceSpiListener evictLsnr)
Sets eviction listener to receive notifications on evicted swap entries.
|
long |
NoopSwapSpaceSpi.size(String space)
Gets size in bytes for data space with given name.
|
void |
NoopSwapSpaceSpi.spiStart(String gridName)
This method is called to start SPI.
|
void |
NoopSwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
NoopSwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
NoopSwapSpaceSpi.storeAll(String spaceName,
Map<SwapKey,byte[]> pairs,
SwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
| Constructor and Description |
|---|
IgniteThreadPoolExecutor(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 |
|---|---|
static TransactionConcurrency |
TransactionConcurrency.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static TransactionState |
TransactionState.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static TransactionIsolation |
TransactionIsolation.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015