public class DsdCacheEntry extends Object
SDSet
for caching purposes. This class also provides attributes that are used for
searching the DSD cache.Constructor and Description |
---|
DsdCacheEntry(String member,
SDSet sdSet,
boolean empty)
|
Modifier and Type | Method and Description |
---|---|
String |
getContextId()
Set the contextId for this record.
|
String |
getMember()
Return the Role name this cache entry corresponds with.
|
String |
getName()
Return the name that is used as the cache name for this entry.
|
SDSet |
getSdSet()
Get the DSD for this cache entry.
|
boolean |
isEmpty()
To prevent repeated reads of the DSD's in the directory, Entries are added to the cache and marked empty.
|
void |
setEmpty(boolean empty)
To prevent repeated reads of the DSD's in the directory, Entries are added to the cache and marked empty.
|
void |
setMember(String member)
Set the Role name this cache entry corresponds with.
|
void |
setName(String name)
Set the name to be used for this cache entry.
|
void |
setSdSet(SDSet sdSet)
Set the DSD for this cache entry.
|
public DsdCacheEntry(String member, SDSet sdSet, boolean empty)
member
that maps to Role.name
, along
with a reference to SDSet
and a boolean value to indicate if DSD not found for member, which indicates empty.member
- maps to Role.name
sdSet
- contains DSD entry.empty
- if true, the DSD entry was not found for a corresponding Role.public boolean isEmpty()
public void setEmpty(boolean empty)
empty
- if the cache entry is 'empty'.public String getMember()
public void setMember(String member)
member
- Role namepublic SDSet getSdSet()
SDSet.SDType.DYNAMIC
.public void setSdSet(SDSet sdSet)
sdSet
- reference to non-null SDSet
of type SDSet.SDType.DYNAMIC
.public String getName()
public void setName(String name)
name
- of the cache entry.public String getContextId()
Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621