|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDungeonDataStore
Interface for data store classes. Specifies standard methods for accessing, updating or deleting Dungeonator metadata.
Method Summary | |
---|---|
void |
deleteChunk(DungeonChunk chunk)
Delete chunk. |
DungeonChunk |
getChunk(java.lang.String hash)
Gets a DungeonChunk from the data store. |
boolean |
saveChunk(DungeonChunk chunk)
Saves a DungeonChunk to the data store. |
Method Detail |
---|
DungeonChunk getChunk(java.lang.String hash) throws DataStoreGetException
hash
- the hash for the chunk
DataStoreGetException
boolean saveChunk(DungeonChunk chunk) throws DataStoreSaveException
chunk
- the DungeonChunk to save
DataStoreSaveException
- if an error occurs while saving the chunkvoid deleteChunk(DungeonChunk chunk) throws DataStoreDeleteException
chunk
- the chunk
DataStoreDeleteException
- if an error occurs while deleting the chunk
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |