Package zombie.iso
Class ChunkSaveWorker
java.lang.Object
zombie.iso.ChunkSaveWorker
public class ChunkSaveWorker
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
bSaving
static ChunkSaveWorker
instance
java.util.Stack
toLoadContainers
java.util.Stack
toSaveContainers
java.util.concurrent.ConcurrentLinkedQueue
toSaveQueue
-
Constructor Summary
Constructors Constructor Description ChunkSaveWorker()
-
Method Summary
Modifier and Type Method Description void
Add(IsoChunk chunk)
void
LoadContainers()
void
SaveContainers()
void
SaveNow()
void
SaveNow(java.util.ArrayList arrayList)
void
Update(IsoChunk chunk)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
toSaveQueue
public java.util.concurrent.ConcurrentLinkedQueue toSaveQueue -
toSaveContainers
public java.util.Stack toSaveContainers -
toLoadContainers
public java.util.Stack toLoadContainers -
bSaving
public boolean bSaving
-
-
Constructor Details
-
ChunkSaveWorker
public ChunkSaveWorker()
-
-
Method Details
-
LoadContainers
public void LoadContainers() throws java.io.IOException- Throws:
java.io.IOException
-
SaveContainers
public void SaveContainers() throws java.io.IOException- Throws:
java.io.IOException
-
Update
-
SaveNow
public void SaveNow(java.util.ArrayList arrayList) -
SaveNow
public void SaveNow() -
Add
-