| Constructor and Description |
|---|
CacheAccess() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelResponse() |
void |
close() |
void |
contentsSet(Map new_entries) |
void |
defineObject(Object name,
Attributes attr) |
static void |
defineRegion(String regionName,
Attributes attr) |
void |
destroy(Object name) |
void |
entryRemoved(Object key) |
void |
entrySet(Object key,
Object value) |
Object |
get(Object name) |
Object |
get(Object name,
Object args) |
static CacheAccess |
getAccess(String regionName,
String props) |
Attributes |
getAttributes() |
Attributes |
getAttributes(Object name) |
protected Hashtable |
getCombinedView() |
static CacheAccess |
getDefault() |
void |
getOwnership(Object name,
int timeout) |
void |
invalidate() |
void |
invalidate(Object name) |
static boolean |
isOpen()
is this cache's jgroups channel open?
|
boolean |
isPresent(Object name) |
void |
preLoad(Object name) |
void |
put(Object name,
Attributes attr,
Object value) |
void |
put(Object name,
Object value) |
void |
releaseOwnership(int timeout) |
void |
releaseOwnership(Object name,
int timeout) |
void |
replace(Object name,
Object value) |
void |
resetAttributes(Attributes attr) |
void |
resetAttributes(Object name,
Attributes attr) |
void |
run()
jgroups channel reader thread's Runnable
|
void |
save() |
void |
viewChange(Vector joined,
Vector left) |
void |
waitForResponse(int timeout) |
public static CacheAccess getDefault()
public static boolean isOpen()
public void contentsSet(Map new_entries)
public static void defineRegion(String regionName, Attributes attr) throws ObjectExistsException, NullObjectNameException, CacheNotAvailableException
public static CacheAccess getAccess(String regionName, String props) throws JCacheException
JCacheExceptionpublic void close()
throws JCacheException
JCacheExceptionpublic Object get(Object name) throws JCacheException
JCacheExceptionpublic Object get(Object name, Object args) throws JCacheException
JCacheExceptionpublic void put(Object name, Object value) throws JCacheException
JCacheExceptionpublic void put(Object name, Attributes attr, Object value) throws JCacheException
JCacheExceptionpublic void replace(Object name, Object value) throws JCacheException
JCacheExceptionpublic void invalidate()
throws JCacheException
JCacheExceptionpublic void invalidate(Object name) throws JCacheException
JCacheExceptionpublic void defineObject(Object name, Attributes attr) throws JCacheException
JCacheExceptionpublic void destroy(Object name) throws JCacheException
JCacheExceptionpublic void waitForResponse(int timeout)
throws JCacheException
JCacheExceptionpublic void cancelResponse()
throws JCacheException
JCacheExceptionpublic void getOwnership(Object name, int timeout) throws JCacheException
JCacheExceptionpublic void releaseOwnership(int timeout)
throws JCacheException
JCacheExceptionpublic void releaseOwnership(Object name, int timeout) throws JCacheException
JCacheExceptionpublic void resetAttributes(Attributes attr) throws JCacheException
JCacheExceptionpublic void resetAttributes(Object name, Attributes attr) throws JCacheException, InvalidHandleException
public Attributes getAttributes() throws JCacheException
JCacheExceptionpublic Attributes getAttributes(Object name) throws JCacheException
JCacheExceptionpublic void save()
public void preLoad(Object name)
public boolean isPresent(Object name)
protected Hashtable getCombinedView()
public void run()
public void entryRemoved(Object key)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.