|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.server.logs.LogEntries
public class LogEntries
Keeps track of size. A simple class.
| Constructor Summary | |
|---|---|
LogEntries()
Create and initialize structures to track log entries. |
|
| Method Summary | |
|---|---|
void |
add(LogEntry entry)
Add a log entry for tracking. |
void |
clear()
Clear the entire list of log entries being tracked. |
java.util.Iterator<LogEntry> |
iterator()
Return an iterator pointing to the beginning of list of entries being tracked. |
long |
lengthInBytes()
Length in bytes of entries being tracked. |
int |
size()
Number of entries being tracked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogEntries()
| Method Detail |
|---|
public void add(LogEntry entry)
entry - public int size()
public long lengthInBytes()
public java.util.Iterator<LogEntry> iterator()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||