|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.core.system.ManifoldCF
org.apache.manifoldcf.agents.system.ManifoldCF
public class ManifoldCF
| Nested Class Summary | |
|---|---|
protected static class |
ManifoldCF.AgentsShutdownHook
Agents shutdown hook class |
| Nested classes/interfaces inherited from class org.apache.manifoldcf.core.system.ManifoldCF |
|---|
ManifoldCF.DatabaseConnectionReleaseThread, ManifoldCF.DatabaseShutdown, ManifoldCF.FileTrack, ManifoldCF.ShutdownThread |
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
protected static boolean |
agentsInitialized
|
protected static java.lang.String |
API_ERRORNODE
|
protected static java.lang.String |
API_SERVICEINTERRUPTIONNODE
|
protected static java.util.HashMap |
runningHash
This is the place we keep track of the agents we've started. |
protected static boolean |
stopAgentsRun
This flag prevents startAgents() from starting anything once stopAgents() has been called. |
| Constructor Summary | |
|---|---|
ManifoldCF()
|
|
| Method Summary | |
|---|---|
static void |
createErrorNode(Configuration output,
ManifoldCFException e)
Handle an exception, by converting it to an error node. |
static void |
createServiceInterruptionNode(Configuration output,
ServiceInterruption e)
Handle a service interruption, by converting it to a serviceinterruption node. |
static void |
deinstallTables(IThreadContext threadcontext)
Uninstall all the crawler system tables. |
static ConfigurationNode |
findConfigurationNode(Configuration input,
java.lang.String argumentName)
Find a configuration node given a name |
static java.lang.String |
getRootArgument(Configuration input,
java.lang.String argumentName)
Find a configuration value given a name |
static void |
initializeEnvironment()
Initialize environment. |
static void |
installTables(IThreadContext threadcontext)
Install the agent tables. |
static void |
signalOutputConnectionRedo(IThreadContext threadContext,
java.lang.String connectionName)
Signal output connection needs redoing. |
static void |
startAgents(IThreadContext threadContext)
Start all not-running agents. |
static void |
stopAgents(IThreadContext threadContext)
Stop all started agents. |
| Methods inherited from class org.apache.manifoldcf.core.system.ManifoldCF |
|---|
addFile, addShutdownHook, addToHash, checkMaintenanceUnderway, checkProperties, cleanUpSystem, createResourceLoader, createSystemDatabase, deleteFile, deleteFolder, deobfuscate, dropSystemDatabase, encrypt, ensureFolder, findClass, getChildDatabaseName, getFileProperty, getHashValue, getIntProperty, getMasterDatabaseName, getMasterDatabasePassword, getMasterDatabaseUsername, getProperty, hash, isFolder, noteConfigurationChange, obfuscate, readByte, readByteArray, readBytes, readDword, readfloat, readLong, readNibble, readSdword, readString, readWord, recursiveDelete, resolvePath, safeFileName, sleep, startHash, writeByte, writeByteArray, writeBytes, writeDword, writefloat, writeLong, writeNibble, writeSdword, writeString, writeWord |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
protected static boolean agentsInitialized
protected static java.util.HashMap runningHash
protected static boolean stopAgentsRun
protected static final java.lang.String API_ERRORNODE
protected static final java.lang.String API_SERVICEINTERRUPTIONNODE
| Constructor Detail |
|---|
public ManifoldCF()
| Method Detail |
|---|
public static void initializeEnvironment()
throws ManifoldCFException
ManifoldCFException
public static void installTables(IThreadContext threadcontext)
throws ManifoldCFException
threadcontext - is the thread context.
ManifoldCFException
public static void deinstallTables(IThreadContext threadcontext)
throws ManifoldCFException
threadcontext - is the thread context.
ManifoldCFException
public static void startAgents(IThreadContext threadContext)
throws ManifoldCFException
threadContext - is the thread context.
ManifoldCFException
public static void stopAgents(IThreadContext threadContext)
throws ManifoldCFException
ManifoldCFException
public static void signalOutputConnectionRedo(IThreadContext threadContext,
java.lang.String connectionName)
throws ManifoldCFException
threadContext - is the thread context.connectionName - is the connection name.
ManifoldCFException
public static ConfigurationNode findConfigurationNode(Configuration input,
java.lang.String argumentName)
public static java.lang.String getRootArgument(Configuration input,
java.lang.String argumentName)
public static void createErrorNode(Configuration output,
ManifoldCFException e)
throws ManifoldCFException
ManifoldCFException
public static void createServiceInterruptionNode(Configuration output,
ServiceInterruption e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||