|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aranai.dungeonator.datastore.DungeonDataStore
public class DungeonDataStore
Provides a default (non-functional) implementation for others to extend.
| Constructor Summary | |
|---|---|
DungeonDataStore()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DungeonDataStore()
| Method Detail |
|---|
public DungeonChunk getChunk(java.lang.String hash)
throws DataStoreGetException
IDungeonDataStore
getChunk in interface IDungeonDataStorehash - the hash for the chunk
DataStoreGetException
public boolean saveChunk(DungeonChunk chunk)
throws DataStoreSaveException
IDungeonDataStore
saveChunk in interface IDungeonDataStorechunk - the DungeonChunk to save
DataStoreSaveException - if an error occurs while saving the chunk
public void deleteChunk(DungeonChunk chunk)
throws DataStoreDeleteException
IDungeonDataStore
deleteChunk in interface IDungeonDataStorechunk - 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 | |||||||||