WriterContext

flatgraph.storage.WriterContext
class WriterContext(val fileChannel: FileChannel, val executor: ExecutorService)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def compressItem(res: OutlineStorage, bytes: Array[Byte]): (OutlineStorage, ByteBuffer)
def finish(manifest: GraphItem): Unit
def submitCompress(block: => (OutlineStorage, ByteBuffer)): Unit
def writeItem(res: OutlineStorage, buf: ByteBuffer): Unit

Concrete fields

val compressQueue: ArrayDeque[Future[(OutlineStorage, ByteBuffer)]]
val executor: ExecutorService
val fileChannel: FileChannel
var fileOffset: Long
val jobQueue: ArrayBuffer[() => (OutlineStorage, Array[Byte])]
val stringQueue: ArrayDeque[(OutlineStorage, Array[String])]
val stringpool: LinkedHashMap[String, Int]
val writeQueue: ArrayDeque[Future[Any]]