com.metamatrix.common.comm.platform.socket
Class SocketVMController

java.lang.Object
  extended by com.metamatrix.platform.vm.controller.ProcessController
      extended by com.metamatrix.common.comm.platform.socket.SocketVMController
All Implemented Interfaces:
ProcessManagement

public class SocketVMController
extends ProcessController

Main class for a server process.


Field Summary
static java.lang.String SOCKET_CONTEXT
           
 
Fields inherited from class com.metamatrix.platform.vm.controller.ProcessController
clientServices, DEFAULT_STARTER_MAX_THREADS, DEFAULT_STARTER_TIMETOLIVE, host, processName, registry, SERVICE_MONITOR_INTERVAL, STARTER_MAX_THREADS, STARTER_TIMETOLIVE
 
Constructor Summary
SocketVMController(Host host, java.lang.String processName, ClusteredRegistryState registry, ServerEvents serverEvents, MessageBus bus, HostManagement hostManagement)
           
 
Method Summary
protected  WorkerPoolStats getProcessPoolStats()
           
protected  SocketListenerStats getSocketListenerStats()
           
static void main(java.lang.String[] args)
          Deprecated. 
 void shutdown(boolean now)
          Shut down all services waiting for work to complete.
 void start()
          Starts the VM by invoking all the deployed services
 java.lang.String toString()
           
 
Methods inherited from class com.metamatrix.platform.vm.controller.ProcessController
checkService, dumpThreads, exportLogs, getAddress, getConfigHost, getName, getProperties, getStartTime, getVMStatistics, isShuttingDown, isStarted, logMessage, ping, setCurrentLogConfiguration, startDeployedService, startService, stopService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SOCKET_CONTEXT

public static final java.lang.String SOCKET_CONTEXT
See Also:
Constant Field Values
Constructor Detail

SocketVMController

public SocketVMController(Host host,
                          java.lang.String processName,
                          ClusteredRegistryState registry,
                          ServerEvents serverEvents,
                          MessageBus bus,
                          HostManagement hostManagement)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

start

public void start()
Description copied from interface: ProcessManagement
Starts the VM by invoking all the deployed services

Specified by:
start in interface ProcessManagement
Overrides:
start in class ProcessController

shutdown

public void shutdown(boolean now)
Description copied from class: ProcessController
Shut down all services waiting for work to complete. Essential services will also be shutdown.

Specified by:
shutdown in interface ProcessManagement
Overrides:
shutdown in class ProcessController

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSocketListenerStats

protected SocketListenerStats getSocketListenerStats()
Specified by:
getSocketListenerStats in class ProcessController

getProcessPoolStats

protected WorkerPoolStats getProcessPoolStats()
Specified by:
getProcessPoolStats in class ProcessController

main

@Deprecated
public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Deprecated. 

Throws:
java.lang.Exception


Copyright © 2009. All Rights Reserved.