Package s2.client
Class ManagedAppendSession
java.lang.Object
s2.client.ManagedAppendSession
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Void>
com.google.common.util.concurrent.ListenableFuture<Void>
com.google.common.util.concurrent.ListenableFuture<AppendOutput>
submit
(AppendInput input, Duration maxWait)
-
Method Details
-
submit
public com.google.common.util.concurrent.ListenableFuture<AppendOutput> submit(AppendInput input, Duration maxWait) throws InterruptedException - Throws:
InterruptedException
-
closeGracefully
public com.google.common.util.concurrent.ListenableFuture<Void> closeGracefully() throws InterruptedException- Throws:
InterruptedException
-
closeImmediately
public com.google.common.util.concurrent.ListenableFuture<Void> closeImmediately() throws InterruptedException- Throws:
InterruptedException
-