Namespace: Appistry.FAM
Class FAM_Space
Properties
| int Timeout |
This property specifies the amount of time the FAM_Space object waits for a request to the FAM to complete. The get and set accessors are available for this property. |
| int MaxRetries |
This property specifies the maximum number of times the FAM space will retry a request. The get and set accessors are available for this property. |
Methods
FAM_Space
FAM_Space(string spaceName)
This is the FAM_Space object constructor.
| Parameters |
| string |
space name |
| Return Value |
| FAM_Space |
FAM space object instance |
| Exceptions |
NullReferenceException |
Create
void Create(int spaceMaxSize, FAM_Space.Parity spaceParity)
This method creates the FAM space in the fabric with the indicated parity scheme, and size in kilobytes.
| Parameters |
| int |
the maximum size, in kilobytes, of the FAM space |
| FAM_Space.Parity |
the parity scheme for the space;
ONE_ONE indicates (1,1) parity,
TWO_ONE indicates (2,1) parity, and
TWO_ONE_QUORUMLESS_READ indicates (2,1) with quorumless read parity |
| Exceptions |
FAM_Exception
FAM_SpaceException
ArgumentException |
Delete
This method deletes the FAM space from the fabric.
| Exceptions |
FAM_Exception
FAM_SpaceException |
Exists
This method verifies the FAM space exists in the fabric.
| bool |
true indicates the space exists, false indicates the space does not exist |
| Exceptions |
FAM_Exception
FAM_SpaceException |
QueryKeys
StringCollection QueryKeys(FAM_Session famSession)
This method returns a list of keys accessed in the current session for this FAM space.
| Parameters |
| FAM_Session |
session identifier |
| Return Value |
| StringCollection |
list of keys |
| Exceptions |
FAM_Exception
FAM_SpaceException |