private static class AdminServerImpl.WorkArea
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
bound
if true, the session is bound to the directory service
|
private DirectoryService |
ds
instance of the directory service
|
private java.util.LinkedList<java.lang.String[]> |
freshMessages
list of fresh messages: elements are string arrays
|
private boolean |
liveTarget
if true, the live directory is the target
|
private java.util.Set<RecordInfo> |
lockedRecords
list of locked records
|
private java.lang.Integer |
refresh
Current refresh counter.
|
private SecurityAdmin |
sa
instance of SecurityAdmin for this session for live target
|
private java.util.LinkedList<java.lang.String[]> |
savedMessages
list of saved messages: elements are string arrays
|
private boolean |
stayCurrent
variations of the live target: latest(true) or session
|
private boolean |
targeted
if true, the target is set
|
Constructor and Description |
---|
WorkArea()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
incrementCounters(boolean rc)
Increment refresh counters.
|
boolean |
isRefreshPending()
Check if there is pending refresh.
|
void |
resetCounters()
Increment refresh counters.
|
private void |
setRefreshCounters(int i)
Set refresh counters.
|
private DirectoryService ds
private boolean bound
private boolean targeted
private boolean liveTarget
private boolean stayCurrent
private SecurityAdmin sa
private java.util.LinkedList<java.lang.String[]> freshMessages
private java.util.LinkedList<java.lang.String[]> savedMessages
private java.util.Set<RecordInfo> lockedRecords
private java.lang.Integer refresh
public void resetCounters()
public boolean incrementCounters(boolean rc)
rc
- directory commit return code.private void setRefreshCounters(int i)
i
- New value for the counters. If this parameter is less than 0,
then both counters are incremented.public boolean isRefreshPending()
true
if refresh is pending and false
is there is no pending refresh.