Package ome.services.fulltext
Class Main
- java.lang.Object
-
- ome.services.fulltext.Main
-
public class Main extends java.lang.ObjectCommandline 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 voidclose(sun.misc.Signal sig, java.lang.Integer rc)protected static FullTextThreadcreateFullTextThread(EventLogLoader loader)protected static FullTextThreadcreateFullTextThread(EventLogLoader loader, boolean dryRun)static voidforeground(boolean dryrun, java.lang.String[] args)Uses aPersistentEventLogLoaderand cycles through all the remaining logs.static voidindexAllEvents()static voidindexByClass(java.util.Set<java.lang.String> set)static voidindexFullDb()static voidinit()static voidmain(java.lang.String[] args)static voidreset(java.lang.String[] args)Can be used to reset the value that thePersistentEventLogLoaderwould read if started now.static voidstandalone(java.lang.String[] args)Starts up and simply waits until told by the grid to disconnect.static voidusage()
-
-
-
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 thePersistentEventLogLoaderwould read if started now.
-
foreground
public static void foreground(boolean dryrun, java.lang.String[] args)Uses aPersistentEventLogLoaderand 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.
-
-