| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<Boolean,V> |
GridCacheInterceptor.onBeforeRemove(K key,
V val)
This method is called within
GridCacheProjection.remove(Object, GridPredicate[])
and similar operations to provide control over returned value. |
GridBiTuple<Boolean,V> |
GridCacheInterceptorAdapter.onBeforeRemove(K key,
V val)
This method is called within
GridCacheProjection.remove(Object, GridPredicate[])
and similar operations to provide control over returned value. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
GridCacheProjection.transformAndCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer)
Applies
transformer closure to the previous value associated with given key in cache,
closure should return GridBiTuple instance where first value is new value stored in cache
and second value is returned as result of this method. |
| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<T,S> |
GridCacheAtomicStamped.get()
Gets both current value and current stamp of atomic stamped.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract GridBiTuple<K,V> |
GridCacheLoadOnlyStoreAdapter.parse(I rec,
Object... args)
This method should transform raw data records into valid key-value pairs
to be stored into cache.
|
| Modifier and Type | Method and Description |
|---|---|
static GridBiTuple<GridConfiguration,GridSpringResourceContext> |
GridGainEx.loadConfiguration(String springCfgPath)
Loads first found grid configuration specified within given Spring XML configuration file.
|
static GridBiTuple<GridConfiguration,GridSpringResourceContext> |
GridGainEx.loadConfiguration(URL springCfgUrl)
Loads first found grid configuration specified within given Spring XML configuration file.
|
static GridBiTuple<Collection<GridConfiguration>,? extends GridSpringResourceContext> |
GridGainEx.loadConfigurations(String springCfgPath)
Loads all grid configurations specified within given Spring XML configuration file.
|
static GridBiTuple<Collection<GridConfiguration>,? extends GridSpringResourceContext> |
GridGainEx.loadConfigurations(URL springCfgUrl)
Loads all grid configurations specified within given Spring XML configuration file.
|
| Modifier and Type | Method and Description |
|---|---|
protected GridBiTuple<GridCacheOperation,GridDrReceiverConflictContextImpl<K,V>> |
GridCacheTxAdapter.drResolveConflict(GridCacheOperation op,
K key,
V newVal,
byte[] newValBytes,
long newTtl,
long newDrExpireTime,
GridCacheVersion newVer,
GridCacheEntryEx<K,V> old)
Resolve DR conflict.
|
GridBiTuple<Boolean,V> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
GridBiTuple<Boolean,V> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
GridPredicate<GridCacheEntry<K,V>>[] filter,
boolean intercept,
UUID subjId)
Update method for local cache in atomic mode.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheContext.cancelRemove(GridBiTuple<Boolean,?> interceptorRes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheStoreManager.putAllToStore(GridCacheTx tx,
Map<K,GridBiTuple<V,GridCacheVersion>> map)
Puts key-value pair into storage.
|
<R> R |
GridCacheProjectionImpl.transformAndCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer)
Applies
transformer closure to the previous value associated with given key in cache,
closure should return GridBiTuple instance where first value is new value stored in cache
and second value is returned as result of this method. |
<R> R |
GridCacheAdapter.transformAndCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer)
Applies
transformer closure to the previous value associated with given key in cache,
closure should return GridBiTuple instance where first value is new value stored in cache
and second value is returned as result of this method. |
<R> R |
GridCacheProxyImpl.transformAndCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer)
Applies
transformer closure to the previous value associated with given key in cache,
closure should return GridBiTuple instance where first value is new value stored in cache
and second value is returned as result of this method. |
<R> R |
GridCacheTxLocalAdapter.transformCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer) |
<R> R |
GridCacheTxLocalEx.transformCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer) |
| Constructor and Description |
|---|
GridCacheTransformComputeClosure(GridClosure<V,GridBiTuple<V,R>> transformer) |
| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<GridCacheQueueHeader,GridBiTuple<Long,Long>> |
GridCacheQueueAdapter.ClearClosure.apply(GridCacheQueueHeader hdr)
Closure body.
|
GridBiTuple<GridCacheQueueHeader,Long> |
GridCacheQueueAdapter.PollClosure.apply(GridCacheQueueHeader hdr)
Closure body.
|
GridBiTuple<GridCacheQueueHeader,Long> |
GridCacheQueueAdapter.AddClosure.apply(GridCacheQueueHeader hdr)
Closure body.
|
GridBiTuple<GridCacheQueueHeader,Long> |
GridCacheQueueAdapter.RemoveClosure.apply(GridCacheQueueHeader hdr)
Closure body.
|
GridBiTuple<T,S> |
GridCacheAtomicStampedValue.get() |
GridBiTuple<T,S> |
GridCacheAtomicStampedImpl.get()
Gets both current value and current stamp of atomic stamped.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<GridCacheQueueHeader,GridBiTuple<Long,Long>> |
GridCacheQueueAdapter.ClearClosure.apply(GridCacheQueueHeader hdr)
Closure body.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
GridDhtAtomicCache.transformAndCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer)
Applies
transformer closure to the previous value associated with given key in cache,
closure should return GridBiTuple instance where first value is new value stored in cache
and second value is returned as result of this method. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
GridNearAtomicCache.transformAndCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer)
Applies
transformer closure to the previous value associated with given key in cache,
closure should return GridBiTuple instance where first value is new value stored in cache
and second value is returned as result of this method. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
GridLocalAtomicCache.transformAndCompute(K key,
GridClosure<V,GridBiTuple<V,R>> transformer)
Applies
transformer closure to the previous value associated with given key in cache,
closure should return GridBiTuple instance where first value is new value stored in cache
and second value is returned as result of this method. |
| Modifier and Type | Method and Description |
|---|---|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridOffHeapProcessor.iterator(String spaceName)
Gets iterator over contents of the given space.
|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridOffHeapProcessor.iterator(String spaceName,
int part)
Gets iterator over contents of partition.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridBiTuple<String,Object>> |
GridRestProtocol.getProperties()
Returns protocol properties for setting node attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridBiTuple<String,Object>> |
GridRestProtocolAdapter.getProperties()
Returns protocol properties for setting node attributes.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<Collection<GridConfiguration>,? extends GridSpringResourceContext> |
GridSpringProcessor.loadConfigurations(URL cfgUrl,
String... excludedProps)
Loads all grid configurations specified within given configuration file.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridBiTuple<String,String>> |
GridStreamerAttributes.stages() |
| Modifier and Type | Method and Description |
|---|---|
Map<? extends GridComputeJob,GridNode> |
VisorMultiNodeTask.map(List<GridNode> subgrid,
GridBiTuple<Set<UUID>,A> arg)
This method is called to map or split grid task into multiple grid jobs.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.authenticationSpi() |
GridBiTuple<String,Map<String,Object>>[] |
VisorSpisConfig.checkpointSpis() |
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.collisionSpi() |
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.communicationSpi() |
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.deploymentSpi() |
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.discoverySpi() |
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.eventStorageSpi() |
GridBiTuple<String,Map<String,Object>>[] |
VisorSpisConfig.failoverSpis() |
GridBiTuple<String,Map<String,Object>>[] |
VisorSpisConfig.indexingSpis() |
GridBiTuple<String,Map<String,Object>>[] |
VisorSpisConfig.loadBalancingSpis() |
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.secureSessionSpi() |
GridBiTuple<String,Map<String,Object>> |
VisorSpisConfig.swapSpaceSpi() |
| Modifier and Type | Method and Description |
|---|---|
static GridBiTuple<List<Object[]>,Map.Entry<Object,Object>> |
VisorQueryUtils.fetchScanQueryRows(GridCacheQueryFuture<Map.Entry<Object,Object>> fut,
Map.Entry<Object,Object> savedNext,
int pageSize)
Fetch rows from SCAN query future.
|
static GridBiTuple<List<Object[]>,List<?>> |
VisorQueryUtils.fetchSqlQueryRows(GridCacheQueryFuture<List<?>> fut,
List<?> savedNext,
int pageSize)
Collects rows from sql query future, first time creates meta and column names arrays.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<GridBiTuple<UUID,VisorLicense>> |
VisorLicenseCollectTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
Map<UUID,GridBiTuple<Long,Long>> |
VisorGcTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
| Modifier and Type | Method and Description |
|---|---|
protected org.gridgain.grid.kernal.visor.cmd.tasks.VisorCacheCollectMetricsTask.VisorCacheMetricsJob |
VisorCacheCollectMetricsTask.job(GridBiTuple<Boolean,String> arg) |
protected org.gridgain.grid.kernal.visor.cmd.tasks.VisorQueryNextPageTask.VisorQueryNextPageJob |
VisorQueryNextPageTask.job(GridBiTuple<String,Integer> arg) |
protected org.gridgain.grid.kernal.visor.cmd.tasks.VisorLicenseUpdateTask.VisorLicenseUpdateJob |
VisorLicenseUpdateTask.job(GridBiTuple<UUID,String> arg) |
| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<V2,V1> |
GridBiTuple.swap()
Swaps values.
|
| Modifier and Type | Method and Description |
|---|---|
static GridBiTuple<Object,Object> |
GridUtils.addLog4jNoOpLogger()
Adds no-op logger to remove no-appender warning.
|
static GridBiTuple<Collection<String>,Collection<String>> |
GridUtils.resolveLocalAddresses(InetAddress locAddr)
Returns host names consistent with
GridUtils.resolveLocalHost(String). |
| Modifier and Type | Method and Description |
|---|---|
static <K,V,M extends Map<K,V>> |
GridUtils.addAll(M m,
GridBiTuple<K,V>... entries)
Adds values to collection and returns the same collection to allow chaining.
|
static void |
GridUtils.removeLog4jNoOpLogger(GridBiTuple<Object,Object> t)
Removes previously added no-op logger via method
GridUtils.addLog4jNoOpLogger(). |
| Modifier and Type | Class and Description |
|---|---|
class |
GridPair<T>
Simple extension over
GridBiTuple for pair of objects of the same type. |
| Modifier and Type | Method and Description |
|---|---|
static <V> GridBiTuple<Collection<V>,Collection<V>> |
GridFunc.partition(Iterable<? extends V> c,
GridPredicate<? super V> p)
Partitions input collection in two: first containing elements for which given
predicate evaluates to
true - and second containing the elements for which
predicate evaluates to false. |
static <K,V> GridBiTuple<Map<K,V>,Map<K,V>> |
GridFunc.partition(Map<? extends K,? extends V> m,
GridBiPredicate<? super K,? super V> p)
Partitions input map in two: first containing entries for which given predicate evaluates
to
true - and second containing the entries for which predicate evaluates to false. |
static <V> GridBiTuple<Collection<V>,Collection<V>> |
GridFunc.partition(V[] c,
GridPredicate<? super V> p)
Partitions input array in two: first containing elements for which given predicate
evaluates to
true - and second containing the elements for which predicate
evaluates to false. |
static <V1,V2> GridBiTuple<V1,V2> |
GridFunc.t(V1 v1,
V2 v2)
Factory method returning new tuple with given parameters.
|
static <V1,V2> GridBiTuple<V1,V2> |
GridFunc.t2()
Factory method returning new empty tuple.
|
| Modifier and Type | Method and Description |
|---|---|
static <E1,E2> GridPredicate<GridBiTuple<E1,E2>> |
GridFunc.as0(GridBiPredicate<? super E1,? super E2> p)
Converts predicate with two separate values to a predicate with tuple.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> void |
GridFunc.forEach(Map<? extends K,? extends V> m,
GridInClosure<? super GridBiTuple<K,V>> f,
GridPredicate<? super GridBiTuple<K,V>>... p)
Calls given
side-effect only closure (if provided) over the each element of the
provided map. |
| Modifier and Type | Method and Description |
|---|---|
static GridBiTuple<Collection<Map<String,Object>>,Map<String,Object>> |
GridNodeStartUtils.parseFile(File file)
Parses INI file.
|
| Modifier and Type | Method and Description |
|---|---|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridOffHeapPartitionedMap.iterator()
Gets iterator over the whole map.
|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridOffHeapMap.iterator()
Gets iterator over map.
|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridOffHeapPartitionedMap.iterator(int p)
Gets iterator over certain partition.
|
| Modifier and Type | Method and Description |
|---|---|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridUnsafeMap.iterator()
Gets iterator over map.
|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridUnsafePartitionedMap.iterator()
Gets iterator over the whole map.
|
GridCloseableIterator<GridBiTuple<byte[],byte[]>> |
GridUnsafePartitionedMap.iterator(int p)
Gets iterator over certain partition.
|
| Modifier and Type | Class and Description |
|---|---|
class |
T2<V1,V2>
Defines
alias for GridBiTuple by extending it. |
Copyright © 2014. All rights reserved.