B - The instance to be returned on which to apply succeeding
builder operations.public static interface Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
Closable functionality to be invoked in a builder
chain.| Modifier and Type | Method and Description |
|---|---|
B |
withClose()
Builder method for the
Closable.close() method. |
B |
withCloseIn(int aCloseInMillis)
Builder method for the
Closable#closeIn() method. |
B |
withCloseQuetly()
Builder method for the
Closable.closeQuietly() method. |
B withClose() throws CloseException
Closable.close() method.CloseException - in case closing or pre-closing (flushing)
fails.B withCloseQuetly()
Closable.closeQuietly() method.B withCloseIn(int aCloseInMillis)
Closable#closeIn() method.aCloseInMillis - The time in milliseconds to pass till
Closable.close() is called.Copyright © 2017. All rights reserved.