com.caucho.server.cluster
Class ProServer

java.lang.Object
  extended by com.caucho.server.cluster.Server
      extended by com.caucho.server.cluster.ProServer
All Implemented Interfaces:
ClassLoaderListener, InvocationBuilder, AlarmListener, Dependency, java.util.EventListener

public class ProServer
extends Server


Constructor Summary
ProServer(Resin resin)
          Creates a new servlet server.
 
Method Summary
protected  ServerAdmin createAdmin()
           
 double getCpuLoad()
           
static ProServer getCurrent()
           
protected  AbstractProxyCache instantiateProxyCache()
          Adds the cache.
protected  void logModules()
          Logs modules
 
Methods inherited from class com.caucho.server.cluster.Server
add, addEarDefault, addErrorPage, addHost, addHostDefault, addHostDeploy, addWebAppDefault, allocateHttpBuffer, buildInvocation, classLoaderDestroy, classLoaderInit, clearCache, clearCacheByPattern, createAdminClient, createAdminClient, createBrokerManager, createHostDeploy, createProxyCache, createRewriteDispatch, destroy, freeHttpBuffer, getAdmin, getAdminAuthenticator, getAdminBroker, getAdminBrokerManager, getAlternateSessionURLPrefix, getBamAdminName, getBamBroker, getBroker, getClassLoader, getCluster, getClusterList, getClusterServer, getConfigException, getConnectionErrorPage, getDefaultWebApp, getDependencyCheckInterval, getEnvironmentAdmin, getErrorPageManager, getErrorWebApp, getHmtpStream, getHost, getHostController, getHostControllers, getInvocationDecoder, getInvocationServer, getPersistentStore, getPod, getProxyCache, getProxyCacheHitCount, getProxyCacheMissCount, getResin, getResinDataDirectory, getResinSystem, getRootDirectory, getSelfServer, getServerHeader, getServerId, getServerIndex, getSessionCookie, getSessionURLPrefix, getShutdownWaitMax, getSSLSessionCookie, getStage, getStartTime, getState, getSystemStore, getUniqueServerName, getURLCharacterEncoding, getUrlLengthMax, getWebApp, handleAlarm, init, isActive, isAfterStarting, isDeployError, isDestroyed, isDestroying, isDevelopmentModeErrorPage, isIgnoreClientDisconnect, isModified, isModifiedNow, isPreview, isResinServer, isStopped, isStopping, isWatchdog, logModified, notifyStop, preInit, restart, setAccessLog, setAlternateSessionURLPrefix, setConfigException, setConnectionErrorPage, setDevelopmentModeErrorPage, setIgnoreClientDisconnect, setPersistentStore, setRootDirectory, setServerHeader, setSessionCookie, setSessionURLPrefix, setShutdownWaitMax, setSSLSessionCookie, setStage, setURLCharacterEncoding, setUrlLengthMax, start, startImpl, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProServer

public ProServer(Resin resin)
Creates a new servlet server.

Method Detail

getCurrent

public static ProServer getCurrent()

createAdmin

protected ServerAdmin createAdmin()
Overrides:
createAdmin in class Server

instantiateProxyCache

protected AbstractProxyCache instantiateProxyCache()
                                            throws ConfigException
Adds the cache.

Overrides:
instantiateProxyCache in class Server
Throws:
ConfigException

logModules

protected void logModules()
Logs modules

Overrides:
logModules in class Server

getCpuLoad

public double getCpuLoad()
Overrides:
getCpuLoad in class Server