GigaSpaces XAP 9.5 API

com.gigaspaces.log
Class CompoundLogEntries

java.lang.Object
  extended by com.gigaspaces.log.CompoundLogEntries
All Implemented Interfaces:
Serializable

public class CompoundLogEntries
extends Object
implements Serializable

Holds a list of LogEntries. Note, the list might include null values, so use getSafeEntries() in order to get a list that includes all non null values.

Author:
kimchy
See Also:
Serialized Form

Constructor Summary
CompoundLogEntries(LogEntries[] entries)
          Constructs a new instance with an array of LogEntries (some values can be null within the array).
 
Method Summary
 LogEntries[] getEntries()
          Returns the LogEntries array.
 LogEntries[] getSafeEntries()
          Returns a LogEntries array with no null values.
 boolean isEmpty()
          Returns true if there are no log entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundLogEntries

public CompoundLogEntries(LogEntries[] entries)
Constructs a new instance with an array of LogEntries (some values can be null within the array).

Method Detail

getEntries

public LogEntries[] getEntries()
Returns the LogEntries array.

Note, some values of the array might be null. Use getSafeEntries() in order to get all the non null log entries.


getSafeEntries

public LogEntries[] getSafeEntries()
Returns a LogEntries array with no null values.


isEmpty

public boolean isEmpty()
Returns true if there are no log entries.


GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.