Package com.gigaspaces.internal.log
Class InternalLogHelper
java.lang.Object
com.gigaspaces.internal.log.InternalLogHelper
- Author:
- kimchy
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogEntriesclientSideProcess(LogEntryMatcher matcher, LogEntries entries) static CompoundLogEntrieslogEntries(LogProcessType[] types, long[] pids, LogEntryMatcher matcher) static LogEntrieslogEntries(LogProcessType type, long pid, LogEntryMatcher matcher) static CompoundLogEntrieslogEntries(LogProcessType type, LogEntryMatcher matcher) static LogEntrieslogEntriesDirect(LogProcessType type, LogEntryMatcher matcher) static LogEntrieslogEntriesDirect(File[] files, long pid, LogProcessType type, LogEntryMatcher matcher) Retrieves the log entries.static File[]logFiles()static LogProcessType
-
Constructor Details
-
InternalLogHelper
public InternalLogHelper()
-
-
Method Details
-
parseProcessTypeFromSystemProperty
-
logEntries
public static LogEntries logEntries(LogProcessType type, long pid, LogEntryMatcher matcher) throws IOException - Throws:
IOException
-
logEntries
public static CompoundLogEntries logEntries(LogProcessType[] types, long[] pids, LogEntryMatcher matcher) throws IOException - Throws:
IOException
-
logEntries
public static CompoundLogEntries logEntries(LogProcessType type, LogEntryMatcher matcher) throws IOException - Throws:
IOException
-
logEntriesDirect
public static LogEntries logEntriesDirect(LogProcessType type, LogEntryMatcher matcher) throws IOException - Throws:
IOException
-
logFiles
- Throws:
IOException
-
logEntriesDirect
public static LogEntries logEntriesDirect(File[] files, long pid, LogProcessType type, LogEntryMatcher matcher) throws IOException Retrieves the log entries. Note, files should be from newest to oldest proder ([0] is the newest/latest log file).- Throws:
IOException
-
clientSideProcess
-