@GridToStringExclude public class GridCacheGateway<K,V> extends Object
| Constructor and Description |
|---|
GridCacheGateway(GridCacheContext<K,V> ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
block() |
void |
enter()
Enter a cache call.
|
CacheOperationContext |
enter(CacheOperationContext opCtx) |
boolean |
enterIfNotClosed()
Enter a cache call.
|
boolean |
enterIfNotClosedNoLock()
Enter a cache call without lock.
|
CacheOperationContext |
enterNoLock(CacheOperationContext opCtx) |
void |
leave()
Leave a cache call entered by
enter() method. |
void |
leave(CacheOperationContext prev) |
void |
leaveNoLock()
Leave a cache call entered by
enterNoLock(org.apache.ignite.internal.processors.cache.CacheOperationContext) method. |
void |
leaveNoLock(CacheOperationContext prev) |
void |
onStopped() |
public GridCacheGateway(GridCacheContext<K,V> ctx)
ctx - Cache context.public void enter()
public boolean enterIfNotClosed()
True if enter successful, false if the cache or the node was stopped.public boolean enterIfNotClosedNoLock()
True if enter successful, false if the cache or the node was stopped.public void leaveNoLock()
enterNoLock(org.apache.ignite.internal.processors.cache.CacheOperationContext) method.public void leave()
enter() method.@Nullable public CacheOperationContext enter(@Nullable CacheOperationContext opCtx)
opCtx - Cache operation context to guard.@Nullable public CacheOperationContext enterNoLock(@Nullable CacheOperationContext opCtx)
opCtx - Operation context to guard.public void leave(CacheOperationContext prev)
prev - Previous.public void leaveNoLock(CacheOperationContext prev)
prev - Previous.public void block()
public void onStopped()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015