Add tracing for unflushed EditSessions

This commit is contained in:
Kenzie Togami
2018-10-30 18:39:51 -07:00
parent 93de97dc19
commit e1fbaaff59
11 changed files with 81 additions and 3 deletions

View File

@ -234,6 +234,16 @@ public class EditSession implements Extent, AutoCloseable {
return event.getExtent();
}
// pkg private for TracedEditSession only
ChunkBatchingExtent getChunkBatchingExtent() {
return chunkBatchingExtent;
}
MultiStageReorder getReorderExtent() {
return reorderExtent;
}
/**
* Turns on specific features for a normal WorldEdit session, such as
* {@link #enableQueue() queuing} and {@link #setBatchingChunks(boolean)