Package com.google.cloud
Class BaseWriteChannel.BaseState<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable>
java.lang.Object
com.google.cloud.BaseWriteChannel.BaseState<ServiceOptionsT,EntityT>
- All Implemented Interfaces:
RestorableState<WriteChannel>,Serializable
- Enclosing class:
- BaseWriteChannel<ServiceOptionsT extends ServiceOptions<?,
ServiceOptionsT>, EntityT extends Serializable>
protected abstract static class BaseWriteChannel.BaseState<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable>
extends Object
implements RestorableState<WriteChannel>, Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBaseWriteChannel.BaseState.Builder<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>, EntityT extends Serializable> Base builder for a write channel's state.protected static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byte[]protected final intprotected final EntityTprotected final booleanprotected final longprotected final ServiceOptionsTprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()toString()protected List<BaseWriteChannel.BaseState.ValueHolder>Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.cloud.RestorableState
restore
-
Field Details
-
serviceOptions
-
entity
-
uploadId
-
position
protected final long position -
buffer
protected final byte[] buffer -
isOpen
protected final boolean isOpen -
chunkSize
protected final int chunkSize
-
-
Constructor Details
-
BaseState
@InternalApi("This class should only be extended within google-cloud-java") protected BaseState(BaseWriteChannel.BaseState.Builder<ServiceOptionsT, EntityT> builder)
-
-
Method Details