|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.business.DotJBCacheAdministratorLegacyImpl
public class DotJBCacheAdministratorLegacyImpl
The legacy cache administrator will invalidate cache entries within a cluster on a put where the non legacy one will not.
| Field Summary |
|---|
| Fields inherited from interface com.dotmarketing.business.DotCacheAdministrator |
|---|
ROOT_GOUP |
| Constructor Summary | |
|---|---|
DotJBCacheAdministratorLegacyImpl()
|
|
| Method Summary | |
|---|---|
void |
flushAll()
Flush the entire cache immediately. |
void |
flushAlLocalOnlyl()
Flushes all cache locally |
void |
flushGroup(java.lang.String group)
Flushes all items that belong to the specified group. |
void |
flushGroupLocalOnly(java.lang.String group)
Flushes all items that belong to the specified group on the local server only |
java.lang.Object |
get(java.lang.String key,
java.lang.String group)
Get an object from the cache |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getCacheStatsList()
|
java.lang.Class |
getImplementationClass()
|
DotCacheAdministrator |
getImplementationObject()
|
org.jgroups.JChannel |
getJGroupsChannel()
|
java.util.Set<java.lang.String> |
getKeys(java.lang.String group)
Returns all keys within the group |
void |
put(java.lang.String key,
java.lang.Object content,
java.lang.String group)
Puts an object in a cache This will create journal entries for other servers in a clustered environment. |
void |
remove(java.lang.String key,
java.lang.String group)
Remove an object from the cache. |
void |
removeLocalOnly(java.lang.String key,
java.lang.String group)
Remove an object from the cache on the local server only |
void |
shutdown()
Should be called on shutdown of the dotcms |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DotJBCacheAdministratorLegacyImpl()
| Method Detail |
|---|
public void flushAll()
DotCacheAdministrator
flushAll in interface DotCacheAdministratorpublic void flushGroup(java.lang.String group)
DotCacheAdministrator
flushGroup in interface DotCacheAdministratorpublic void flushGroupLocalOnly(java.lang.String group)
DotCacheAdministrator
flushGroupLocalOnly in interface DotCacheAdministrator
public java.lang.Object get(java.lang.String key,
java.lang.String group)
throws DotCacheException
DotCacheAdministrator
get in interface DotCacheAdministratorDotCacheException
public void put(java.lang.String key,
java.lang.Object content,
java.lang.String group)
DotCacheAdministrator
put in interface DotCacheAdministrator
public void remove(java.lang.String key,
java.lang.String group)
DotCacheAdministrator
remove in interface DotCacheAdministrator
public void removeLocalOnly(java.lang.String key,
java.lang.String group)
DotCacheAdministrator
removeLocalOnly in interface DotCacheAdministratorpublic void flushAlLocalOnlyl()
DotCacheAdministrator
flushAlLocalOnlyl in interface DotCacheAdministratorpublic java.util.Set<java.lang.String> getKeys(java.lang.String group)
DotCacheAdministrator
getKeys in interface DotCacheAdministratorpublic void shutdown()
DotCacheAdministrator
shutdown in interface DotCacheAdministratorpublic org.jgroups.JChannel getJGroupsChannel()
getJGroupsChannel in interface DotCacheAdministratorpublic java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getCacheStatsList()
getCacheStatsList in interface DotCacheAdministratorpublic java.lang.Class getImplementationClass()
getImplementationClass in interface DotCacheAdministratorpublic DotCacheAdministrator getImplementationObject()
getImplementationObject in interface DotCacheAdministrator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||