org.fusesource.insight.log
Class LogResults

java.lang.Object
  extended by org.fusesource.insight.log.LogResults

public class LogResults
extends java.lang.Object

Results of a query which also records the first and last timestamp searched


Constructor Summary
LogResults()
           
 
Method Summary
 void addEvent(LogEvent event)
           
 java.util.List<LogEvent> getEvents()
           
 java.lang.Long getFromTimestamp()
           
 java.lang.String getHost()
           
 java.lang.Long getToTimestamp()
           
 void setEvents(java.util.List<LogEvent> events)
           
 void setFromTimestamp(java.lang.Long fromTimestamp)
           
 void setHost(java.lang.String host)
           
 void setToTimestamp(java.lang.Long toTimestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogResults

public LogResults()
Method Detail

addEvent

public void addEvent(LogEvent event)

getEvents

public java.util.List<LogEvent> getEvents()

setEvents

public void setEvents(java.util.List<LogEvent> events)

getFromTimestamp

public java.lang.Long getFromTimestamp()

setFromTimestamp

public void setFromTimestamp(java.lang.Long fromTimestamp)

getToTimestamp

public java.lang.Long getToTimestamp()

setToTimestamp

public void setToTimestamp(java.lang.Long toTimestamp)

getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String host)


Copyright © 2013 Red Hat. All Rights Reserved.