class WrittenEntry extends Object
WrittenEntry
object that mark the last entry the thread examined. When it is
done with that entry, it proceeds to the next. As each of these
references progresses, the WrittenEntry
nodes in the
list get left behind to be collected as garbage.
The list initially starts with the return value of startNode
,
and nodes are added using add
. The constructor is private to
enforce this usage.
OutriggerServerImpl.write(com.sun.jini.outrigger.EntryRep, net.jini.core.transaction.Transaction, long)
,
Notifier
Modifier and Type | Field and Description |
---|---|
private WrittenEntry |
next
The next node in the list.
|
private EntryRep |
rep
The EntryRep this node refers to.
|
private long |
timestamp
The time at which this entry was written.
|
Modifier | Constructor and Description |
---|---|
private |
WrittenEntry(EntryRep rep)
Create a new time-stamped entry for the given EntryRep.
|
Modifier and Type | Method and Description |
---|---|
(package private) WrittenEntry |
add(EntryRep rep)
Add a new entry after this one.
|
(package private) WrittenEntry |
next()
Return the next object in the list.
|
(package private) EntryRep |
rep()
Return the EntryRep of this entry.
|
(package private) static WrittenEntry |
startNode()
Return the node which is the head of the list.
|
(package private) long |
timestamp()
Return the time stamp when this entry was written.
|
String |
toString() |
private long timestamp
private WrittenEntry next
private EntryRep rep
private WrittenEntry(EntryRep rep)
static WrittenEntry startNode()
EntryRep
of null
.WrittenEntry add(EntryRep rep)
add
will skip ahead to
the end of the list.long timestamp()
EntryRep rep()
startNode
), the EntryRep is null
.startNode()
WrittenEntry next()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.