@PublicAPI(stability=VOLATILE, mayInstantiate=true, mayExtend=false, mayInvoke=true, notes="This should only be used within a backend") public final class CacheEntry extends Object
Constructor and Description |
---|
CacheEntry(Entry entry,
String backendID,
long entryID)
Creates a new cache entry with the provided information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether this cache entry is equal to the provided \
object.
|
String |
getBackendID()
Retrieves the backend ID for this cache entry.
|
org.forgerock.opendj.ldap.Dn |
getDN()
Retrieves the DN for this cache entry.
|
Entry |
getEntry()
Retrieves the entry for this cache entry.
|
long |
getEntryID()
Retrieves the entry ID for this cache entry.
|
int |
hashCode()
Retrieves the hash code for this cache entry.
|
public CacheEntry(Entry entry, String backendID, long entryID)
entry
- The entry for this cache entry.backendID
- ID of the backend for this cache entry.entryID
- The entry ID for this cache entry.public Entry getEntry()
public String getBackendID()
public long getEntryID()
public org.forgerock.opendj.ldap.Dn getDN()
public int hashCode()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.