|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.log.LogEntry
public class LogEntry
Represents a log entry.
Nested Class Summary | |
---|---|
static class |
LogEntry.Type
The type of the log entry. |
Constructor Summary | |
---|---|
LogEntry()
|
|
LogEntry(long position,
LogEntry.Type type,
long timestamp,
String text)
|
Method Summary | |
---|---|
long |
getPosition()
Returns the position of the log entry. |
String |
getText()
Returns the full log text. |
String |
getTextWithLF()
Returns the full log text with line separator. |
long |
getTimestamp()
Returns the timestamp this log was taken at. |
LogEntry.Type |
getType()
Returns the type of the log entry. |
boolean |
isFileMarker()
Returns true if the log entry is a file marker (representing the file
where the log was extracted). |
boolean |
isLog()
Returns true if the log entry is an actual log "line". |
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogEntry()
public LogEntry(long position, LogEntry.Type type, long timestamp, String text)
Method Detail |
---|
public long getTimestamp()
public long getPosition()
public String getText()
public String getTextWithLF()
public LogEntry.Type getType()
public boolean isLog()
true
if the log entry is an actual log "line".
public boolean isFileMarker()
true
if the log entry is a file marker (representing the file
where the log was extracted).
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |