E
- public class TenantLevelObj<E>
extends java.lang.Object
Constructor and Description |
---|
TenantLevelObj() |
Modifier and Type | Method and Description |
---|---|
void |
clearAllTenants()
Remove the objects for all the tenants except for the master tn
|
void |
clearByMaster() |
void |
clearTenant() |
E |
get() |
java.util.Set<java.lang.Integer> |
getLoadedTenants() |
boolean |
hasObjectInCurrentContext() |
E |
removeObjectInContext() |
void |
set(E obj)
Set the object.
|
void |
set(int tenantID,
E obj)
Set the object.
|
void |
unloadInactiveCaches(long interval) |
public void set(int tenantID, E obj)
tenantID
- obj
- public void set(E obj)
obj
- public E get()
public boolean hasObjectInCurrentContext()
public E removeObjectInContext()
public void clearAllTenants()
public void clearByMaster() throws MXException
MXException
public void clearTenant()
public java.util.Set<java.lang.Integer> getLoadedTenants() throws MXException
MXException
public final void unloadInactiveCaches(long interval) throws MXException
MXException