@SuppressWarnings("resource") // log closed during postCleanup LifecycleTransaction(Tracker tracker, OperationType operationType, Iterable<SSTableReader> readers) { this(tracker, new LogTransaction(operationType, tracker), readers); }
@SuppressWarnings("resource") // log closed during postCleanup LifecycleTransaction(Tracker tracker, OperationType operationType, Iterable<SSTableReader> readers) { this(tracker, new LogTransaction(operationType, tracker), readers); }
@SuppressWarnings("resource") // log closed during postCleanup LifecycleTransaction(Tracker tracker, OperationType operationType, Iterable<SSTableReader> readers) { this(tracker, new LogTransaction(operationType, tracker), readers); }
@SuppressWarnings("resource") // log closed during postCleanup LifecycleTransaction(Tracker tracker, OperationType operationType, Iterable<SSTableReader> readers) { this(tracker, new LogTransaction(operationType, tracker), readers); }
/** * construct an empty Transaction with no existing readers */ @SuppressWarnings("resource") // log closed during postCleanup public static LifecycleTransaction offline(OperationType operationType) { Tracker dummy = new Tracker(null, false); return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList()); }
/** * construct an empty Transaction with no existing readers */ @SuppressWarnings("resource") // log closed during postCleanup public static LifecycleTransaction offline(OperationType operationType) { Tracker dummy = new Tracker(null, false); return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList()); }
/** * construct an empty Transaction with no existing readers */ @SuppressWarnings("resource") // log closed during postCleanup public static LifecycleTransaction offline(OperationType operationType) { Tracker dummy = new Tracker(null, false); return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList()); }
/** * construct an empty Transaction with no existing readers */ @SuppressWarnings("resource") // log closed during postCleanup public static LifecycleTransaction offline(OperationType operationType) { Tracker dummy = new Tracker(false); return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList()); }
try (LogTransaction txnLogs = new LogTransaction(operationType, this))
try (LogTransaction txnLogs = new LogTransaction(operationType, this))
try (LogTransaction txnLogs = new LogTransaction(operationType, this))
try (LogTransaction txnLogs = new LogTransaction(operationType, this))