| Package | Description |
|---|---|
| org.gridgain.grid.kernal.processors.cache | |
| org.gridgain.grid.kernal.processors.cache.distributed.dht | |
| org.gridgain.grid.kernal.processors.cache.distributed.near | |
| org.gridgain.grid.util.future |
Future related classes.
|
| org.gridgain.grid.util.lang | |
| org.gridgain.grid.util.typedef |
Contains typedefs definitions for frequently used classes.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
GridCacheTxLocalAdapter.FinishClosure<T>
Post-lock closure.
|
protected class |
GridCacheTxLocalAdapter.PLC1<T>
Post-lock closure alias.
|
protected class |
GridCacheTxLocalAdapter.PLC2<T>
Post-lock closure alias.
|
protected class |
GridCacheTxLocalAdapter.PMC<T>
Post-lock closure alias.
|
protected class |
GridCacheTxLocalAdapter.PostLockClosure1<T>
Post-lock closure.
|
protected class |
GridCacheTxLocalAdapter.PostLockClosure2<T>
Post-lock closure.
|
protected class |
GridCacheTxLocalAdapter.PostMissClosure<T>
Post-lock closure.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> |
GridCacheAdapter.beforePessimisticLock
Before lock callback.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> |
GridCacheAdapter.beforePessimisticLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheAdapter.beforePessimisticLock(GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> beforePessimisticLock)
Sets callback that will be invoked before keys are locked.
|
| Constructor and Description |
|---|
GridDhtEmbeddedFuture(GridFuture<B> embedded,
GridBiClosure<B,Exception,GridFuture<A>> c,
GridKernalContext ctx) |
GridDhtEmbeddedFuture(GridKernalContext ctx,
GridFuture<B> embedded,
GridBiClosure<B,Exception,A> c) |
GridDhtEmbeddedFuture(GridKernalContext ctx,
GridFuture<B> embedded,
GridBiClosure<B,Exception,A> c,
Collection<Integer> invalidParts) |
| Modifier and Type | Method and Description |
|---|---|
GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> |
GridNearCacheAdapter.beforePessimisticLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearCacheAdapter.beforePessimisticLock(GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> beforePessimisticLock)
Sets callback that will be invoked before keys are locked.
|
| Constructor and Description |
|---|
GridEmbeddedFuture(boolean syncNotify,
GridFuture<B> embedded,
GridBiClosure<B,Exception,GridFuture<A>> c,
GridKernalContext ctx)
Embeds futures.
|
GridEmbeddedFuture(GridFuture<B> embedded,
GridBiClosure<B,Exception,GridFuture<A>> c,
GridKernalContext ctx)
Embeds futures.
|
GridEmbeddedFuture(GridKernalContext ctx,
GridFuture<B> embedded,
GridBiClosure<B,Exception,A> c) |
GridEmbeddedFuture(GridKernalContext ctx,
GridFuture<B> embedded,
GridBiClosure<B,Exception,GridFuture<A>> c1,
GridBiClosure<A,Exception,A> c2)
Embeds futures.
|
GridEmbeddedFuture(GridKernalContext ctx,
GridFuture<B> embedded,
GridBiClosure<B,Exception,GridFuture<A>> c1,
GridBiClosure<A,Exception,A> c2)
Embeds futures.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridClosure2X<E1,E2,R>
Convenient closure subclass that allows for thrown grid exception.
|
| Modifier and Type | Method and Description |
|---|---|
static <X1,X2> GridBiClosure<X1,X2,Boolean> |
GridFunc.as(GridBiPredicate<? super X1,? super X2> p)
Converts given predicate to closure.
|
static <T1,T2,R> GridBiClosure<T1,T2,R> |
GridFunc.constant2(R val)
Gets closure that returns constant value.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> GridBiPredicate<T1,T2> |
GridFunc.as(GridBiClosure<? super T1,? super T2,Boolean> c)
Converts given closure to predicate.
|
static <T1,T2,R> GridClosure<T2,R> |
GridFunc.curry(GridBiClosure<? super T1,? super T2,R> f,
T1 e)
Curries given closure.
|
static <D,B> B |
GridFunc.fold(D[] c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given array using provided closure.
|
static <D,B> B |
GridFunc.fold(Iterable<? extends D> c,
B b,
GridBiClosure<? super D,? super B,B>... fs)
Folds-right given collection using provided closure.
|
static <K0,K extends K0,V0,V extends V0,V1> |
GridFunc.viewReadOnly(Map<K,V> m,
GridBiClosure<K,V,V1> trans,
GridPredicate<? super K>... p)
Read-only view on map that supports transformation of values and key filtering.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,R> Collection<GridClosure<T2,R>> |
GridFunc.curry2(Collection<? extends GridBiClosure<? super T1,T2,R>> iter,
T1 arg)
Curries collection of closures with given argument.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
C2<E1,E2,R>
Defines
alias for GridBiClosure by extending it. |
| Modifier and Type | Class and Description |
|---|---|
class |
CX2<E1,E2,R>
Defines
alias for GridClosure2X by extending it. |
Copyright © 2014. All rights reserved.