|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.tools.TransactionLogTool
public class TransactionLogTool
Interactive tool that enables a user to interactively browse and query RogLog
logs.
This tool allows the user to switch between two operation modes, browse mode and query mode. In browse mode the user can interact with a single log file and browse its contents. In query mode the user can execute queries against all of the currently open logs. The user can switch back and forth between the two modes using the 'switch' command.
Nested Class Summary | |
---|---|
class |
TransactionLogTool.Archive
|
class |
TransactionLogTool.Close
|
class |
TransactionLogTool.Compact
|
class |
TransactionLogTool.Compare
|
class |
TransactionLogTool.Consume
|
class |
TransactionLogTool.Count
|
class |
TransactionLogTool.Create
|
class |
TransactionLogTool.Describe
|
class |
TransactionLogTool.Diag
|
class |
TransactionLogTool.Drop
|
class |
TransactionLogTool.Dump
|
class |
TransactionLogTool.Factories
|
class |
TransactionLogTool.Factory
|
static class |
TransactionLogTool.FullscanThresholdParser
|
class |
TransactionLogTool.ListCommand
|
class |
TransactionLogTool.LogMetadata
|
class |
TransactionLogTool.Next
|
class |
TransactionLogTool.NextTransaction
|
class |
TransactionLogTool.Open
|
class |
TransactionLogTool.PktDiag
|
class |
TransactionLogTool.Rewind
|
class |
TransactionLogTool.Rewrite
|
class |
TransactionLogTool.Schema
|
class |
TransactionLogTool.Select
|
class |
TransactionLogTool.Skip
|
class |
TransactionLogTool.SkipTransaction
|
class |
TransactionLogTool.Stats
|
class |
TransactionLogTool.Switch
|
class |
TransactionLogTool.Tail
|
Constructor Summary | |
---|---|
TransactionLogTool()
|
|
TransactionLogTool(File archiveExtractionDir)
|
Method Summary | |
---|---|
String |
getLogFromUUID(String logId)
Gets the name of the open log with the given id or null if no open log exists. |
Collection<RogLog> |
getOpenLogs()
|
RogLogQueryEngine |
getQueryEngine()
Gets the tool's query engine. |
Collection<Class<?>> |
getTypes()
|
static void |
main(String[] args)
|
Collection<RogLog> |
open(String logPath)
Open the log or logs at the given path. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionLogTool() throws Exception
Exception
public TransactionLogTool(File archiveExtractionDir) throws Exception
Exception
Method Detail |
---|
public static void main(String[] args)
public Collection<RogLog> open(String logPath)
logPath
- The file or directory name of logs to openpublic Collection<RogLog> getOpenLogs()
RogLog
spublic RogLogQueryEngine getQueryEngine() throws Exception
Exception
- If there is an error opening the query engine.public String getLogFromUUID(String logId)
logId
- The logId to locate
public Collection<Class<?>> getTypes() throws Exception
Exception
- Get the list of types.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |