char *GetName()
Returns the chunk name.
char *GetSpaceName()
Returns the name of the space that the chunk is in.
NL_HOST_INET_ADDR GetHostAddress()
Return the address of the host on which this copy of the chunk exists.
long GetIsAlpha()
Return TRUE if the chunk copy is the alpha copy. Otherwise, return FALSE.
long GetState()
Return one of the following states:
| DSS_CHUNK_VALID | The chunk is a valid copy. |
| DSS_CHUNK_INVALID | The chunk is an invalid copy. |
| DSS_CHUNK_WAITING | The chunk is waiting to be written to. |
| DSS_CHUNK_CREATING | The chunk is being created. |
long GetMemoryType()
| DSS_MEMORY_SHARED | The chunk data is stored in shared memory. |
| DSS_MEMORY_HEAP | The chunk data is stored in the dss daemon heap. |
| DSS_MEMORY_FILE | The chunk data is stored in a file. |
| DSS_MEMORY_SAME | The chunk data location is unspecified and does not
yet exist. This state will usually not exist because chunks are by default
already set to DSS_MEMORY_HEAP. |
unsigned long GetSize()
Return the size of the chunk.