org.apache.catalina.session
クラス DistributedManager

java.lang.Object
  |
  +--org.apache.catalina.session.ManagerBase
        |
        +--org.apache.catalina.session.PersistentManagerBase
              |
              +--org.apache.catalina.session.DistributedManager
すべての実装インタフェース:
java.util.EventListener, Lifecycle, Manager, java.beans.PropertyChangeListener, java.lang.Runnable

public final class DistributedManager
extends PersistentManagerBase

This manager is responsible for in memory replication of Sessions across a defined Cluster. It could also utilize a Store to make Sessions persistence.

バージョン:
$Revision: 1.4.2.1 $, $Date: 2002/01/03 10:44:33 $
作成者:
Bip Thelin

フィールドの概要
protected static java.lang.String name
          The descriptive name of this Manager implementation (for logging).
 
クラス org.apache.catalina.session.PersistentManagerBase から継承したフィールド
lifecycle, threadDone
 
クラス org.apache.catalina.session.ManagerBase から継承したフィールド
algorithm, container, debug, DEFAULT_ALGORITHM, digest, distributable, entropy, maxInactiveInterval, random, randomClass, recycled, SESSION_ID_BYTES, sessions, sm, support
 
インタフェース org.apache.catalina.Lifecycle から継承したフィールド
START_EVENT, STOP_EVENT
 
コンストラクタの概要
DistributedManager()
           
 
メソッドの概要
 Session createSession()
          Create a Session and replicate it in our Cluster
 java.lang.String getInfo()
          Return descriptive information about this Manager implementation and the corresponding version number, in the format <description>/<version>.
 java.lang.String getName()
          Return the descriptive short name of this Manager implementation.
 void processClusterReceiver()
          Called from our background thread to process new received Sessions
 void run()
          The background thread that checks for session timeouts and shutdown.
 void start()
          Start this manager
 
クラス org.apache.catalina.session.PersistentManagerBase から継承したメソッド
addLifecycleListener, clearStore, findSession, getCheckInterval, getMaxActiveSessions, getMaxIdleBackup, getMaxIdleSwap, getMinIdleSwap, getSaveOnRestart, getStore, isSessionStale, isStarted, load, processExpires, processMaxActiveSwaps, processMaxIdleBackups, processMaxIdleSwaps, processPersistenceChecks, propertyChange, remove, removeLifecycleListener, setCheckInterval, setContainer, setMaxActiveSessions, setMaxIdleBackup, setMaxIdleSwap, setMinIdleSwap, setSaveOnRestart, setStarted, setStore, stop, swapIn, swapOut, threadSleep, threadStart, threadStop, unload, writeSession
 
クラス org.apache.catalina.session.ManagerBase から継承したメソッド
add, addPropertyChangeListener, findSessions, generateSessionId, getAlgorithm, getContainer, getDebug, getDigest, getDistributable, getEngine, getEntropy, getJvmRoute, getMaxInactiveInterval, getRandom, getRandomClass, removePropertyChangeListener, setAlgorithm, setDebug, setDistributable, setEntropy, setMaxInactiveInterval, setRandomClass
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

name

protected static java.lang.String name
The descriptive name of this Manager implementation (for logging).
コンストラクタの詳細

DistributedManager

public DistributedManager()
メソッドの詳細

getInfo

public java.lang.String getInfo()
Return descriptive information about this Manager implementation and the corresponding version number, in the format <description>/<version>.
オーバーライド:
クラス PersistentManagerBase 内の getInfo

getName

public java.lang.String getName()
Return the descriptive short name of this Manager implementation.
オーバーライド:
クラス PersistentManagerBase 内の getName

createSession

public Session createSession()
Create a Session and replicate it in our Cluster
オーバーライド:
クラス PersistentManagerBase 内の createSession
戻り値:
The newly created Session

start

public void start()
           throws LifecycleException
Start this manager
オーバーライド:
クラス PersistentManagerBase 内の start
例外:
LifecycleException - if an error occurs

processClusterReceiver

public void processClusterReceiver()
Called from our background thread to process new received Sessions

run

public void run()
The background thread that checks for session timeouts and shutdown.
オーバーライド:
クラス PersistentManagerBase 内の run


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.