public class CachedObjectPointer
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CachedObjectPointer(long id)
Create the cached object pointer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheName() |
CachedObject |
getClonedInfo() |
long |
getID() |
NewDomainInfo |
getParent() |
CachedObject |
getReference(java.lang.String repositoryName)
Get the cached object from repository.
|
CachedObject |
getReferenceForSet(java.lang.String repositoryName)
Get the cached object from repository for updating purpose.
|
boolean |
isSameTenantAsReference(java.lang.String repositoryName)
Check whether the cached object it refers to is it's own copy
|
void |
setID(long id) |
void |
setParent(NewDomainInfo parent) |
void |
setReference(java.lang.String repositoryName)
Establish the weak reference to the cached object in the repository.
|
void |
setTenantReference(java.lang.String repositoryName) |
public CachedObjectPointer(long id)
id
- public boolean isSameTenantAsReference(java.lang.String repositoryName)
public void setID(long id)
public long getID()
public java.lang.String getCacheName()
public CachedObject getReference(java.lang.String repositoryName)
repositoryName
- public CachedObject getReferenceForSet(java.lang.String repositoryName)
public void setReference(java.lang.String repositoryName)
repositoryName
- public void setTenantReference(java.lang.String repositoryName)
public CachedObject getClonedInfo()
public NewDomainInfo getParent()
public void setParent(NewDomainInfo parent)