public class CacheContextFactory extends Object
Constructor and Description |
---|
CacheContextFactory(CacheManager cacheManager,
String fullSpaceName) |
Modifier and Type | Method and Description |
---|---|
void |
closeAllContexts()
close all contexts free and occupied, waits until all Contexts are returned.
|
void |
freeCacheContext(Context ctx)
Free a Context acquired by getCacheContext().
|
Context |
getCacheContext()
returns a free Context from the pool.
|
public CacheContextFactory(CacheManager cacheManager, String fullSpaceName)
public Context getCacheContext()
public void freeCacheContext(Context ctx)
ctx
- A Context object in use, and to be freed.public void closeAllContexts()
Copyright © GigaSpaces.