The SpaceDef type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddIndexDef |
Adds indexDef to SpaceDef, overwrites if an IndexDef by that name already exists
| |
| Create()()()() |
Return a new SpaceDef instance.
| |
| Create(String, Int32, array<FieldDef>[]()[][]) |
Takes space name, replication count and list of field defs and returns a new SpaceDef instance.
| |
| Create(String, Int32, IList<(Of <<'(FieldDef>)>>)) |
Takes space name, replication count and list of field defs and returns a new SpaceDef instance.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetFieldDef |
Get the Field Definition for the field name provided.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetIndexDef |
Get the index definition for name
| |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PutFieldDef |
Associates a field definition to the space definition.
| |
| RemoveIndexDef |
Removed index from SpaceDef, return null if there is no index by that name
| |
| SetDistributionFields |
Sets the distribution fields.
| |
| TakeFieldDef |
Allows removing a field definition associated with SpaceDef. Note that Space definition cannot
be changed once the space is defined,.So, a field definition can be removed from a Space definition
only before the space is created.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DEFAULT_ENTRY_TTL | Default timeout value of TTL_FOREVER for SpaceEntry TTL. | |
| DEFAULT_LOCK_TTL | Default timeout value of TTL_FOREVER milliseconds for Lock TTL. | |
| DEFAULT_LOCK_WAIT | Default timeout value of NO_WAIT for Lock Wait. | |
| NO_CAPACITY | Capacity of the space | |
| NO_LIMIT | Return all matching rows from the browser. | |
| NO_WAIT | Timeout value for TTL or locks. | |
| REPLICATE_ALL | Sets the replication count to 'replicate on all nodes'. | |
| TTL_FOREVER | Timeout value for TTL. | |
| USE_DEFINED | Use the wait defined in the space definiton | |
| WAIT_FOREVER | Timeout value for locks. |
Properties
| Name | Description | |
|---|---|---|
| Capacity |
Get and set the capacity of the space.
| |
| Context |
Get and set the context of the space
| |
| DistributionFields |
Gets the distribution fields.
| |
| Distributionpolicy |
Get and set the distribution policy.
| |
| Evictionpolicy |
Get and set the capacity policy of the space definition
| |
| FieldDefs |
Return a collection of Field Definitions associated with Space Definition.
| |
| FileSyncInterval |
This sets the file synchronization interval for shared-nothing persistence
| |
| ForgetOldValue |
Get and set forget old value attribute of the space
| |
| IndexDefList |
Get all index definition
| |
| KeyDef |
Get and set Field names that makes the key
| |
| Lockscope |
Get and set the lock scope of the space definition
| |
| LockTTL |
Get and set the time to live of locks on entries in the Space.
| |
| LockWait |
Get and set the amount of time a Put, Update, Take (remove) or Lock operations
| |
| MinSeederCount |
Get and set the minimum number of seeders before persistance interface calls onLoad
| |
| Name |
Get and set the space name of the space.
| |
| NumFieldDefs |
Return number of fields associated with Space Definition.
| |
| PersistenceDistributionPolicy |
Gets or sets the persistence distribution policy.
| |
| Persistencepolicy |
Get and set PersistencePolicy of the space
| |
| Persistencetype |
Get and set the persistence type
| |
| PhaseCount | Obsolete.
Gets or sets the phase count.
| |
| PhaseInterval | Obsolete.
Gets or sets the phase interval.
| |
| PhaseRatio | Obsolete.
The phase ratio. This is used to compute the time delay between phases
| |
| QueryLimit |
This limits the number of rows that are returned per seeder in case of SNAPSHOT GET browser.
| |
| QueryTimeout |
Gets or sets the query timeout.
| |
| ReadTimeout |
Gets or sets the read timeout.
| |
| ReplicationCount |
Get and set the replication count.
| |
| Replicationpolicy |
Get and set the replication policy
| |
| Routed |
Set this if multi-site distribution is to be used
| |
| RouteTimeout |
Gets or sets the route timeout.
| |
| SpaceWait |
Get and set the amount of time space operation waits until space becomes READY
| |
| TimeToLive |
Get and set the TTL for the entries in the Space.
| |
| Updatetransport |
Get and set UpdateTransport to be used either UNICAST or MULTICAST | |
| WriteTimeout |
Gets or sets the write timeout.
|