Package ome.services.fulltext
Class Main
- java.lang.Object
-
- ome.services.fulltext.Main
-
public class Main extends java.lang.Object
Commandline entry-point for various full text actions. Commands include:- full - Index full database
- events - Index all events
- Since:
- 3.0-Beta3
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
close(sun.misc.Signal sig, java.lang.Integer rc)
protected static FullTextThread
createFullTextThread(EventLogLoader loader)
protected static FullTextThread
createFullTextThread(EventLogLoader loader, boolean dryRun)
static void
foreground(boolean dryrun, java.lang.String[] args)
Uses aPersistentEventLogLoader
and cycles through all the remaining logs.static void
indexAllEvents()
static void
indexByClass(java.util.Set<java.lang.String> set)
static void
indexFullDb()
static void
init()
static void
main(java.lang.String[] args)
static void
reset(java.lang.String[] args)
Can be used to reset the value that thePersistentEventLogLoader
would read if started now.static void
standalone(java.lang.String[] args)
Starts up and simply waits until told by the grid to disconnect.static void
usage()
-
-
-
Method Detail
-
init
public static void init()
-
close
public static void close(sun.misc.Signal sig, java.lang.Integer rc)
-
createFullTextThread
protected static FullTextThread createFullTextThread(EventLogLoader loader)
-
createFullTextThread
protected static FullTextThread createFullTextThread(EventLogLoader loader, boolean dryRun)
-
usage
public static void usage()
-
main
public static void main(java.lang.String[] args) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
indexFullDb
public static void indexFullDb()
-
indexByClass
public static void indexByClass(java.util.Set<java.lang.String> set)
-
indexAllEvents
public static void indexAllEvents()
-
reset
public static void reset(java.lang.String[] args)
Can be used to reset the value that thePersistentEventLogLoader
would read if started now.
-
foreground
public static void foreground(boolean dryrun, java.lang.String[] args)
Uses aPersistentEventLogLoader
and cycles through all the remaining logs. Reset can be called first for a complete re-indexing.
-
standalone
public static void standalone(java.lang.String[] args)
Starts up and simply waits until told by the grid to disconnect.
-
-