public class LocalHeapContextStorage extends Object implements SerializedContextStorage
Lifecycle.store(Class)
を利用してください。コンストラクタと説明 |
---|
LocalHeapContextStorage() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
clear()
永続化先に格納した情報をすべて破棄します。
|
List<String> |
entries(String identifier)
永続化先に格納したアクセスコンテキスト名の一覧を取得します。
|
Serializable |
load(String identifier,
String name)
永続化先に格納した値のロードを行います。
|
void |
remove(String identifier)
永続化先に格納した識別キーに紐づく全ての値を破棄します。
|
void |
store(String identifier,
String name,
Serializable data)
永続化先に値を格納します。
|
public void clear() throws SerializedContextStorageException
SerializedContextStorage
clear
インタフェース内 SerializedContextStorage
SerializedContextStorageException
- 値の破棄に失敗した場合に発生します。public List<String> entries(String identifier) throws SerializedContextStorageException
SerializedContextStorage
null
を返却します。entries
インタフェース内 SerializedContextStorage
identifier
- 識別キーSerializedContextStorageException
- 一覧の取得に失敗した場合に発生します。public Serializable load(String identifier, String name) throws SerializedContextStorageException
SerializedContextStorage
SerializedContextStorageException
が発生します。load
インタフェース内 SerializedContextStorage
identifier
- 識別キーname
- アクセスコンテキスト名SerializedContextStorageException
- 値の取得に失敗した場合に発生します。public void remove(String identifier) throws SerializedContextStorageException
SerializedContextStorage
SerializedContextStorageException
が発生します。remove
インタフェース内 SerializedContextStorage
identifier
- 識別キーSerializedContextStorageException
- 値の破棄に失敗した場合に発生します。public void store(String identifier, String name, Serializable data) throws SerializedContextStorageException
SerializedContextStorage
SerializedContextStorageException
が発生します。store
インタフェース内 SerializedContextStorage
identifier
- 識別キーname
- アクセスコンテキスト名data
- 直列化対象のアクセスコンテキストSerializedContextStorageException
- 値の格納に失敗した場合に発生します。Copyright © 2012 NTT DATA INTRAMART CORPORATION