public static class SnapshotManager.ValidContextSnapshotTransaction extends Object implements SnapshotManager.ContextSnapshotTransaction
Constructor and Description |
---|
ValidContextSnapshotTransaction(ExecutorService snapshotExecutor,
long timeoutInMillis,
SerializerFacade facade,
ContextSnapshot snapshot) |
Modifier and Type | Method and Description |
---|---|
void |
andConsume(Consumer<ContextSnapshot> consumer) |
SnapshotManager.ContextSnapshotTransaction |
to(SnapshotManager.SerializationTask task) |
public ValidContextSnapshotTransaction(ExecutorService snapshotExecutor, long timeoutInMillis, SerializerFacade facade, ContextSnapshot snapshot)
public SnapshotManager.ContextSnapshotTransaction to(SnapshotManager.SerializationTask task)
to
in interface SnapshotManager.ContextSnapshotTransaction
public void andConsume(Consumer<ContextSnapshot> consumer)
andConsume
in interface SnapshotManager.ContextSnapshotTransaction
Copyright © 2020. All rights reserved.