|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.catalina.session.StoreBase | +--org.apache.catalina.session.FileStore
Concrete implementation of the Store interface that utilizes a file per saved Session in a configured directory. Sessions that are saved are still subject to being expired based on inactivity.
クラス org.apache.catalina.session.StoreBase から継承したフィールド |
checkInterval, debug, info, lifecycle, manager, sm, started, storeName, support, thread, threadDone, threadName |
インタフェース org.apache.catalina.Lifecycle から継承したフィールド |
START_EVENT, STOP_EVENT |
コンストラクタの概要 | |
FileStore()
|
メソッドの概要 | |
void |
clear()
Remove all of the Sessions in this Store. |
java.lang.String |
getDirectory()
Return the directory path for this Store. |
java.lang.String |
getInfo()
Return descriptive information about this Store implementation and the corresponding version number, in the format <description>/<version> . |
int |
getSize()
Return the number of Sessions present in this Store. |
java.lang.String |
getStoreName()
Return the name for this Store, used for logging. |
java.lang.String |
getThreadName()
Return the thread name for this Store. |
java.lang.String[] |
keys()
Return an array containing the session identifiers of all Sessions currently saved in this Store. |
Session |
load(java.lang.String id)
Load and return the Session associated with the specified session identifier from this Store, without removing it. |
void |
remove(java.lang.String id)
Remove the Session with the specified session identifier from this Store, if present. |
void |
save(Session session)
Save the specified Session into this Store. |
void |
setDirectory(java.lang.String path)
Set the directory path for this Store. |
クラス org.apache.catalina.session.StoreBase から継承したメソッド |
addLifecycleListener, addPropertyChangeListener, getCheckInterval, getDebug, getManager, log, processExpires, removeLifecycleListener, removePropertyChangeListener, run, setCheckInterval, setDebug, setManager, start, stop, threadSleep, threadStart, threadStop |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.apache.catalina.Store から継承したメソッド |
addPropertyChangeListener, getManager, removePropertyChangeListener, setManager |
コンストラクタの詳細 |
public FileStore()
メソッドの詳細 |
public java.lang.String getDirectory()
public void setDirectory(java.lang.String path)
path
- The new directory pathpublic java.lang.String getInfo()
<description>/<version>
.Store
内の getInfo
StoreBase
内の getInfo
public java.lang.String getThreadName()
StoreBase
内の getThreadName
public java.lang.String getStoreName()
StoreBase
内の getStoreName
public int getSize() throws java.io.IOException
Store
内の getSize
java.io.IOException
- if an input/output error occurspublic void clear() throws java.io.IOException
Store
内の clear
java.io.IOException
- if an input/output error occurspublic java.lang.String[] keys() throws java.io.IOException
Store
内の keys
java.io.IOException
- if an input/output error occurredpublic Session load(java.lang.String id) throws java.lang.ClassNotFoundException, java.io.IOException
null
.Store
内の load
id
- Session identifier of the session to loadjava.lang.ClassNotFoundException
- if a deserialization error occursjava.io.IOException
- if an input/output error occurspublic void remove(java.lang.String id) throws java.io.IOException
Store
内の remove
id
- Session identifier of the Session to be removedjava.io.IOException
- if an input/output error occurspublic void save(Session session) throws java.io.IOException
Store
内の save
session
- Session to be savedjava.io.IOException
- if an input/output error occurs
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |