Show / Hide Table of Contents

Class MemoryStateManager

Inheritance
System.Object
MemoryStateManager
Implements
IStateManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FChoice.Common.State
Assembly: FChoice.Common.dll
Syntax
public class MemoryStateManager : IStateManager

Constructors

MemoryStateManager()

Declaration
public MemoryStateManager()

Properties

ApplicationName

Declaration
public string ApplicationName { get; set; }
Property Value
Type Description
System.String

IsStateSerialized

Declaration
public bool IsStateSerialized { get; }
Property Value
Type Description
System.Boolean

StateTimeout

Declaration
public TimeSpan StateTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

Methods

GetApplicationStates()

Declaration
public object[] GetApplicationStates()
Returns
Type Description
System.Object[]

GetApplicationStates(Type)

Declaration
public object[] GetApplicationStates(Type stateType)
Parameters
Type Name Description
System.Type stateType
Returns
Type Description
System.Object[]

InitializeManager(String, TimeSpan, XmlNode)

Declaration
public void InitializeManager(string applicationName, TimeSpan timeoutLength, XmlNode configNode)
Parameters
Type Name Description
System.String applicationName
System.TimeSpan timeoutLength
System.Xml.XmlNode configNode

InitializeState(Guid)

Declaration
public void InitializeState(Guid id)
Parameters
Type Name Description
System.Guid id

IsStateExpired(Guid)

Declaration
public bool IsStateExpired(Guid id)
Parameters
Type Name Description
System.Guid id
Returns
Type Description
System.Boolean

LoadState(Guid, Type)

Declaration
public object LoadState(Guid id, Type stateType)
Parameters
Type Name Description
System.Guid id
System.Type stateType
Returns
Type Description
System.Object

RemoveExpiredStates()

Declaration
public Guid[] RemoveExpiredStates()
Returns
Type Description
System.Guid[]

RemoveState(Guid)

Declaration
public void RemoveState(Guid id)
Parameters
Type Name Description
System.Guid id

ResetTimeout(Guid)

Declaration
public void ResetTimeout(Guid id)
Parameters
Type Name Description
System.Guid id

SaveState(Guid, Byte[])

Declaration
public void SaveState(Guid id, byte[] state)
Parameters
Type Name Description
System.Guid id
System.Byte[] state

SaveState(Guid, Object)

Declaration
public void SaveState(Guid id, object state)
Parameters
Type Name Description
System.Guid id
System.Object state

Explicit Interface Implementations

IStateManager.LoadState(Guid)

Declaration
byte[] IStateManager.LoadState(Guid id)
Parameters
Type Name Description
System.Guid id
Returns
Type Description
System.Byte[]

Implements

IStateManager
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.