@Override public PersistentQueue<T> get() { try { return new PersistentQueue<T>(new ChronicleQueuePersistor<T>(basePath, codec, clearOnStart, deleteOnExit, ChronicleQueueBuilder.vanilla(basePath) .indexBlockSize(indexBlockSize) .synchronous(sync) .dataBlockSize(dataBlockSize))); } catch (IOException e) { throw new IllegalStateException(e.getMessage(), e); } }
nextSynchronous = builder.synchronous(); capacityAddr = limitAddr; finished = false;
public VanillaAppenderImpl() { this.lastCycle = Integer.MIN_VALUE; this.lastThreadId = Integer.MIN_VALUE; this.lastWrittenIndex = -1; this.appenderCycle = -1; this.nextSynchronous = builder.synchronous(); this.lastDataIndex = 0; this.lastIndexIndex = 0; }