Class SaveSessionProcessor
Entry processor that updates session items.
Inherited Members
Namespace: Tangosol.Web
Assembly: Coherence.SessionStore.dll
Syntax
public class SaveSessionProcessor : AbstractProcessor, IEntryProcessor, IPortableObject
Constructors
SaveSessionProcessor(long, SessionValue, HashDictionary, HashSet)
Construct a new instance of SaveSessionProcessor.
Declaration
public SaveSessionProcessor(long idleTimeout, SessionValue sessionValue, HashDictionary overflowAttrs, HashSet obsoleteOverflowAttrs)
Parameters
| Type | Name | Description |
|---|---|---|
| long | idleTimeout | How long the session can be inactive (e.g. not accessed) before it will expire. |
| SessionValue | sessionValue | Session value to store into cache. |
| HashDictionary | overflowAttrs | Overflow attributes. |
| HashSet | obsoleteOverflowAttrs | Names of overflow attributes scheduled for removel. |
Methods
ReadExternal(IPofReader)
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Declaration
public void ReadExternal(IPofReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| IPofReader | reader | The IPofReader from which to read the object's state. |
Exceptions
| Type | Condition |
|---|---|
| IOException | If an I/O error occurs. |
WriteExternal(IPofWriter)
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Declaration
public void WriteExternal(IPofWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| IPofWriter | writer | The IPofWriter to which to write the object's state. |
Exceptions
| Type | Condition |
|---|---|
| IOException | If an I/O error occurs. |