|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.outrigger.OperationJournal.JournalNode
private class OperationJournal.JournalNode
The nodes of our Journal
Field Summary | |
---|---|
private OperationJournal.JournalNode |
next
The next node in the journal |
private long |
ordinal
The sequence number of this journal entry |
private Object |
payload
The contents of this journal entry |
Constructor Summary | |
---|---|
private |
OperationJournal.JournalNode(Object payload)
Create a new JournalNode with the specified
value for the payload , null for
next , and the appropriate value for
ordinal . |
Method Summary | |
---|---|
private OperationJournal.JournalNode |
getNext()
Get the next element in the journal. |
private void |
setNext(OperationJournal.JournalNode n)
Set the next element in the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private OperationJournal.JournalNode next
private final long ordinal
private final Object payload
Constructor Detail |
---|
private OperationJournal.JournalNode(Object payload)
JournalNode
with the specified
value for the payload
, null
for
next
, and the appropriate value for
ordinal
.
Assumes the lock on the OperationJournal
is held,
payload
- The value for the payload field.Method Detail |
---|
private void setNext(OperationJournal.JournalNode n)
n
- the new value for the next field.
IllegalStateException
- if the next field has
already been set.
NullPointerException
- if n
is
null
.private OperationJournal.JournalNode getNext()
null
if there is currently no next element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |