| DSS_REPLICATION_NONE | No replication. Same as replication level 0. |
| DSS_REPLICATION_FULL | Full replication. Every node in the space will have the chunk data transferred to it. |
| DSS_REPLICATION_SAME | This will keep the replication level the same as it is already set. |
| Any positive integer. | Sets the replication level to the specified integer. |
Valid memory types are:
| DSS_MEMORY_HEAP | Chunk data will be stored in the dss daemon heap. |
| DSS_MEMORY_SHARED | Chunk data will be stored in shared memory. |
| DSS_MEMORY_FILE | Chunk data will be stored in a file. |
| DSS_MEMORY_SAME | Chunk memory will stay the same as already set. |
DSS_ChunkConfig()
Create a DSS_ChunkConfig with DSS_REPLICATION_SAME and DSS_MEMORY_SAME.
void SetMemoryType(long mem_type)
Set memory type to
mem_type .
long GetReplicationLevel()
Return replication level.
long GetMemoryType()
Return memory type.
void Set(DSS_ChunkConfig *other)
Set configuration to be the same as for
other .