GigaSpaces XAP 9.7.2 API

com.gigaspaces.log
Class LogEntryMatchers

java.lang.Object
  extended by com.gigaspaces.log.LogEntryMatchers

public abstract class LogEntryMatchers
extends Object

A set of static construction methods for LogEntryMatchers.

Author:
kimchy

Field Summary
static String DEFAULT_TIME_FORMAT
           
static boolean EXCLUSIVE
           
static boolean INCLUSIVE
           
 
Method Summary
static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries, LogEntry logEntry)
           
static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries, LogEntry logEntry, boolean inclusive)
           
static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries, LogEntry logEntry, boolean inclusive, LogEntryMatcher matcher)
           
static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries, LogEntry logEntry, LogEntryMatcher matcher)
           
static AfterTimeLogEntryMatcher afterTime(long timestamp)
           
static AfterTimeLogEntryMatcher afterTime(long timestamp, boolean inclusive)
           
static AfterTimeLogEntryMatcher afterTime(long timestamp, boolean inclusive, LogEntryMatcher matcher)
           
static AfterTimeLogEntryMatcher afterTime(long timestamp, LogEntryMatcher matcher)
           
static AfterTimeLogEntryMatcher afterTime(String time)
           
static AfterTimeLogEntryMatcher afterTime(String time, boolean inclusive)
           
static AfterTimeLogEntryMatcher afterTime(String time, boolean inclusive, LogEntryMatcher matcher)
           
static AfterTimeLogEntryMatcher afterTime(String time, LogEntryMatcher matcher)
           
static AfterTimeLogEntryMatcher afterTime(String time, String format)
           
static AfterTimeLogEntryMatcher afterTime(String time, String format, boolean inclusive)
           
static AfterTimeLogEntryMatcher afterTime(String time, String format, boolean inclusive, LogEntryMatcher matcher)
           
static AfterTimeLogEntryMatcher afterTime(String time, String format, LogEntryMatcher matcher)
           
static AllLogEntryMatcher all()
           
static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries, LogEntry logEntry)
           
static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries, LogEntry logEntry, boolean inclusive)
           
static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries, LogEntry logEntry, boolean inclusive, LogEntryMatcher matcher)
           
static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries, LogEntry logEntry, LogEntryMatcher matcher)
           
static BeforeTimeLogEntryMatcher beforeTime(long timestamp)
           
static BeforeTimeLogEntryMatcher beforeTime(long timestamp, boolean inclusive)
           
static BeforeTimeLogEntryMatcher beforeTime(long timestamp, boolean inclusive, LogEntryMatcher matcher)
           
static BeforeTimeLogEntryMatcher beforeTime(long timestamp, LogEntryMatcher matcher)
           
static BeforeTimeLogEntryMatcher beforeTime(String time)
           
static BeforeTimeLogEntryMatcher beforeTime(String time, boolean inclusive)
           
static BeforeTimeLogEntryMatcher beforeTime(String time, boolean inclusive, LogEntryMatcher matcher)
           
static BeforeTimeLogEntryMatcher beforeTime(String time, LogEntryMatcher matcher)
           
static BeforeTimeLogEntryMatcher beforeTime(String time, String format)
           
static BeforeTimeLogEntryMatcher beforeTime(String time, String format, boolean inclusive)
           
static BeforeTimeLogEntryMatcher beforeTime(String time, String format, boolean inclusive, LogEntryMatcher matcher)
           
static BeforeTimeLogEntryMatcher beforeTime(String time, String format, LogEntryMatcher matcher)
           
static ContainsStringLogEntryMatcher containsString(String str)
           
static ContainsStringLogEntryMatcher containsString(String str, LogEntryMatcher matcher)
           
static ContinuousLogEntryMatcher continuous(LogEntryMatcher initialMatcher)
           
static ContinuousLogEntryMatcher continuous(LogEntryMatcher initialMatcher, LogEntryMatcher continousMatcher)
           
static FirstFileLogEntryMatcher firstFile()
           
static FirstFileLogEntryMatcher firstFile(LogEntryMatcher matcher)
           
static ForwardChunkLogEntryMatcher forwardChunk(LogEntryMatcher matcher)
           
static LastNLogEntryMatcher lastN(int lastN)
           
static LastNLogEntryMatcher lastN(int lastN, LogEntryMatcher matcher)
           
static NoneLogEntryMatcher none()
           
static RegexLogEntryMatcher regex(String regex)
           
static RegexLogEntryMatcher regex(String regex, LogEntryMatcher matcher)
           
static ReverseLogEntryMatcher reverse(LogEntryMatcher matcher)
           
static SizeLogEntryMatcher size(int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCLUSIVE

public static final boolean INCLUSIVE
See Also:
Constant Field Values

EXCLUSIVE

public static final boolean EXCLUSIVE
See Also:
Constant Field Values

DEFAULT_TIME_FORMAT

public static final String DEFAULT_TIME_FORMAT
See Also:
Constant Field Values
Method Detail

afterTime

public static AfterTimeLogEntryMatcher afterTime(long timestamp)

afterTime

public static AfterTimeLogEntryMatcher afterTime(long timestamp,
                                                 boolean inclusive)

afterTime

public static AfterTimeLogEntryMatcher afterTime(long timestamp,
                                                 boolean inclusive,
                                                 LogEntryMatcher matcher)

afterTime

public static AfterTimeLogEntryMatcher afterTime(long timestamp,
                                                 LogEntryMatcher matcher)

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time)
                                          throws ParseException
Throws:
ParseException

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time,
                                                 boolean inclusive)
                                          throws ParseException
Throws:
ParseException

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time,
                                                 boolean inclusive,
                                                 LogEntryMatcher matcher)
                                          throws ParseException
Throws:
ParseException

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time,
                                                 LogEntryMatcher matcher)
                                          throws ParseException
Throws:
ParseException

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time,
                                                 String format)
                                          throws ParseException
Throws:
ParseException

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time,
                                                 String format,
                                                 boolean inclusive)
                                          throws ParseException
Throws:
ParseException

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time,
                                                 String format,
                                                 boolean inclusive,
                                                 LogEntryMatcher matcher)
                                          throws ParseException
Throws:
ParseException

afterTime

public static AfterTimeLogEntryMatcher afterTime(String time,
                                                 String format,
                                                 LogEntryMatcher matcher)
                                          throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(long timestamp)

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(long timestamp,
                                                   boolean inclusive)

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(long timestamp,
                                                   boolean inclusive,
                                                   LogEntryMatcher matcher)

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(long timestamp,
                                                   LogEntryMatcher matcher)

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time)
                                            throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time,
                                                   boolean inclusive)
                                            throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time,
                                                   boolean inclusive,
                                                   LogEntryMatcher matcher)
                                            throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time,
                                                   LogEntryMatcher matcher)
                                            throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time,
                                                   String format)
                                            throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time,
                                                   String format,
                                                   boolean inclusive)
                                            throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time,
                                                   String format,
                                                   boolean inclusive,
                                                   LogEntryMatcher matcher)
                                            throws ParseException
Throws:
ParseException

beforeTime

public static BeforeTimeLogEntryMatcher beforeTime(String time,
                                                   String format,
                                                   LogEntryMatcher matcher)
                                            throws ParseException
Throws:
ParseException

afterEntry

public static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries,
                                                   LogEntry logEntry)

afterEntry

public static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries,
                                                   LogEntry logEntry,
                                                   boolean inclusive)

afterEntry

public static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries,
                                                   LogEntry logEntry,
                                                   LogEntryMatcher matcher)

afterEntry

public static AfterEntryLogEntryMatcher afterEntry(LogEntries logEntries,
                                                   LogEntry logEntry,
                                                   boolean inclusive,
                                                   LogEntryMatcher matcher)

beforeEntry

public static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries,
                                                     LogEntry logEntry)

beforeEntry

public static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries,
                                                     LogEntry logEntry,
                                                     boolean inclusive)

beforeEntry

public static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries,
                                                     LogEntry logEntry,
                                                     LogEntryMatcher matcher)

beforeEntry

public static BeforeEntryLogEntryMatcher beforeEntry(LogEntries logEntries,
                                                     LogEntry logEntry,
                                                     boolean inclusive,
                                                     LogEntryMatcher matcher)

lastN

public static LastNLogEntryMatcher lastN(int lastN)

lastN

public static LastNLogEntryMatcher lastN(int lastN,
                                         LogEntryMatcher matcher)

regex

public static RegexLogEntryMatcher regex(String regex)

regex

public static RegexLogEntryMatcher regex(String regex,
                                         LogEntryMatcher matcher)

containsString

public static ContainsStringLogEntryMatcher containsString(String str)

containsString

public static ContainsStringLogEntryMatcher containsString(String str,
                                                           LogEntryMatcher matcher)

firstFile

public static FirstFileLogEntryMatcher firstFile()

firstFile

public static FirstFileLogEntryMatcher firstFile(LogEntryMatcher matcher)

continuous

public static ContinuousLogEntryMatcher continuous(LogEntryMatcher initialMatcher)

continuous

public static ContinuousLogEntryMatcher continuous(LogEntryMatcher initialMatcher,
                                                   LogEntryMatcher continousMatcher)

forwardChunk

public static ForwardChunkLogEntryMatcher forwardChunk(LogEntryMatcher matcher)

reverse

public static ReverseLogEntryMatcher reverse(LogEntryMatcher matcher)

all

public static AllLogEntryMatcher all()

size

public static SizeLogEntryMatcher size(int size)

none

public static NoneLogEntryMatcher none()

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.