com.metamatrix.admin.api.embedded
Interface EmbeddedRuntimeStateAdmin

All Superinterfaces:
CoreRuntimeStateAdmin
All Known Subinterfaces:
EmbeddedAdmin
All Known Implementing Classes:
DQPRuntimeStateAdminImpl

public interface EmbeddedRuntimeStateAdmin
extends CoreRuntimeStateAdmin

Since:
4.3

Method Summary
 void restart()
          Restart MM Query
 void setLogListener(EmbeddedLogger listener)
          Set the log listener to install into MM Query.
 void stop(int millisToWait)
          Stop the MM Query.
 
Methods inherited from interface com.metamatrix.admin.api.core.CoreRuntimeStateAdmin
cancelRequest, cancelSourceRequest, changeVDBStatus, clearCache, startConnectorBinding, stopConnectorBinding, terminateSession, terminateTransaction, terminateTransaction
 

Method Detail

stop

void stop(int millisToWait)
          throws AdminException
Stop the MM Query. If millisToWait is >0, then close to incoming queries, wait the time period for work to stop, then stop the MM Query. Otherwise, stop immediately, aborting all running queries.

Parameters:
millisToWait - Milliseconds to wait (if >0) or <=0 for no wait before stopping
Throws:
AdminException
Since:
4.3

restart

void restart()
             throws AdminException
Restart MM Query

Throws:
AdminException - if there's a system error.
Since:
4.3

setLogListener

void setLogListener(EmbeddedLogger listener)
                    throws AdminException
Set the log listener to install into MM Query. This log listener will receive all log messages written by the MM Query at it's current log level and log contexts.

Parameters:
listener - The listener component
Throws:
AdminException - if there's a system error.
Since:
4.3


Copyright © 2009. All Rights Reserved.