public ChronicleStream(String name, int messageSizeHint) throws IOException { this(name, messageSizeHint, ChronicleQueueBuilder.indexed(PersistentQueueSpec.DEFAULT_BASE_PATH, name).build() ); }
/** * Create a chronicle dispatcher * * @param name The name of the dispatcher. */ public ChronicleReaderStream(String name) throws IOException { this(name, ChronicleQueueBuilder.indexed(PersistentQueueSpec.DEFAULT_BASE_PATH, name).build() ); }
public static IndexedChronicleQueueBuilder indexed(File parent, String child) { return indexed(new File(parent, child)); }
public static IndexedChronicleQueueBuilder indexed(String path) { return indexed(new File(path)); }
public static IndexedChronicleQueueBuilder indexed(String parent, String child) { return indexed(new File(parent, child)); }
public ChronicleStream(String name, int messageSizeHint) throws IOException { this(name, messageSizeHint, ChronicleQueueBuilder.indexed(PersistentQueueSpec.DEFAULT_BASE_PATH, name).build() ); }
/** * Create a chronicle dispatcher * * @param name The name of the dispatcher. */ public ChronicleReaderStream(String name) throws IOException { this(name, ChronicleQueueBuilder.indexed(PersistentQueueSpec.DEFAULT_BASE_PATH, name).build() ); }
Chronicle ic = ChronicleQueueBuilder.indexed(basePath).build(); ExcerptTailer excerpt = ic.createTailer();
@Override protected void doStart() { ChronicleTools.warmup(); this.basePath = (this.basePath.endsWith("/") ? this.basePath + getName() : this.basePath + "/" + getName()); try { chronicle = ChronicleQueueBuilder.indexed(basePath).synchronous(true).build(); appender = chronicle.createAppender(); } catch (Throwable t) { addError(t.getMessage(), t); } }
@Override protected void doStart() { ChronicleTools.warmup(); this.basePath = (this.basePath.endsWith("/") ? this.basePath + getName() : this.basePath + "/" + getName()); try { chronicle = ChronicleQueueBuilder.indexed(basePath).synchronous(true).build(); appender = chronicle.createAppender(); } catch (Throwable t) { addError(t.getMessage(), t); } }
Chronicle chronicle = ChronicleQueueBuilder.indexed(cl.getOptionValue("path")).build(); ExcerptTailer ex = chronicle.createTailer();
Chronicle chronicle = ChronicleQueueBuilder.indexed(cl.getOptionValue("path")).build(); ExcerptTailer ex = chronicle.createTailer();