Class CompoundLogEntries

java.lang.Object
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:
  • Constructor Details

    • CompoundLogEntries

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

    • 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.