Open SiteSearch 4.1.1
Final

ORG.oclc.jassi
Class JaSSIOpsManager

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ORG.oclc.opserve.opsmanager.OpsManager
              |
              +--ORG.oclc.jassi.JaSSIOpsManager

public class JaSSIOpsManager
extends OpsManager

The JaSSIOpsManager class implements the JaSSI Server specific methods defined by the OpsManager.

See Also:
OpsManager

Fields inherited from class ORG.oclc.opserve.opsmanager.OpsManager
ACTIVATE, COMMAND_STRING, fdThresholds, FLUSHLOG, FLUSHSTATS, HOUSEKEEPING, HOUSEKEEPING_TIMER, LOG_TYPE, LOGGING_TIMER, memThresholds, METHOD, PARMS, POLL, QUIESCE, ROOT, SERVER_LOG, SESSION_TIMER, sessionThresholds, SETTIMER, SETTRACELEVEL, state, STOP_GRACEFULLY, STOP_IMMEDIATELY, THREAD_TIMER, threadThresholds, TIMER_TYPE, TIMER_VALUE, TRACE_LEVEL, UPDATE, USER_LOG
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JaSSIOpsManager()
          Constructs a JaSSIOpsManager object using the input parameters for the ini file and version.
 
Method Summary
 void activate()
          Executes the activate command.
 void flushLog(String whichLog)
          Executes the flush log command.
 void flushStats()
          Executes the flush stats command.
 void houseKeeping()
          Execute the housekeeping command.
 void quiesce()
          Executes the quiesce command.
 void setTimer(long msec, String whichTimer)
          Executes the set timer command for JaSSI logs.
 void setTraceLevel(int traceLevel, String whichLog)
          Executes the set trace level command.
 void stopGracefully()
          Executes the stop gracefully command.
 void stopImmediately()
          Executes the stop immediately command.
 void update(String command)
           
 
Methods inherited from class ORG.oclc.opserve.opsmanager.OpsManager
alert, beginSession, calcLoad, countThreads, decrConnectedClients, decrFD, endSession, getHostID, getHostMap, getServerLocation, getState, incrConnectedClients, incrFD, init, listenForOpsCommands, loadFactor, opActivate, opFlushLog, opFlushStats, opHouseKeeping, opPoll, opQuiesce, opSetTimer, opSetTraceLevel, opStopLater, opStopNow, opUpdate, register, responseTime, run, setConnectedClients, setFD, setServerPort, setSessionCount, toString, unRegister, updateStatus, updateTransRate
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaSSIOpsManager

public JaSSIOpsManager()
Constructs a JaSSIOpsManager object using the input parameters for the ini file and version.
Parameters:
ini - the ini file.
ver - the version string.
Throws:
Exception -  
Method Detail

stopGracefully

public void stopGracefully()
Executes the stop gracefully command.
Overrides:
stopGracefully in class OpsManager

stopImmediately

public void stopImmediately()
Executes the stop immediately command.
Overrides:
stopImmediately in class OpsManager

activate

public void activate()
Executes the activate command.
Overrides:
activate in class OpsManager

quiesce

public void quiesce()
Executes the quiesce command.
Overrides:
quiesce in class OpsManager

flushLog

public void flushLog(String whichLog)
Executes the flush log command.
Overrides:
flushLog in class OpsManager

flushStats

public void flushStats()
Executes the flush stats command.
Overrides:
flushStats in class OpsManager

setTraceLevel

public void setTraceLevel(int traceLevel,
                          String whichLog)
Executes the set trace level command.
Parameters:
traceLevel - the trace level to be set.
whichLog - the log type on which to set the trace level.
Overrides:
setTraceLevel in class OpsManager

setTimer

public void setTimer(long msec,
                     String whichTimer)
Executes the set timer command for JaSSI logs.
Parameters:
msec - the time interval for rolling logs.
whichTimer - the type of log for which to adjusts the timer.
Overrides:
setTimer in class OpsManager

houseKeeping

public void houseKeeping()
Execute the housekeeping command.
Overrides:
houseKeeping in class OpsManager

update

public void update(String command)
Overrides:
update in class OpsManager

Open SiteSearch 4.1.1
Final