@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.
|
GridCacheProjectionImpl<K,V> |
enter(GridCacheProjectionImpl<K,V> prj) |
boolean |
enterIfNotClosed()
Enter a cache call.
|
void |
leave()
Leave a cache call entered by
enter() method. |
void |
leave(GridCacheProjectionImpl<K,V> 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 void leave()
enter() method.@Nullable public GridCacheProjectionImpl<K,V> enter(@Nullable GridCacheProjectionImpl<K,V> prj)
prj - Projection to guard.public void leave(GridCacheProjectionImpl<K,V> prev)
prev - Previous.public void block()
public void onStopped()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015