类 DataBufferUtils.WriteCompletionHandler
java.lang.Object
reactor.core.publisher.BaseSubscriber<DataBuffer>
cn.taketoday.core.io.buffer.DataBufferUtils.WriteCompletionHandler
- 所有已实现的接口:
CompletionHandler<Integer,,DataBufferUtils.WriteCompletionHandler.Attachment> org.reactivestreams.Subscriber<DataBuffer>,org.reactivestreams.Subscription,reactor.core.CoreSubscriber<DataBuffer>,reactor.core.Disposable
- 封闭类:
- DataBufferUtils
private static class DataBufferUtils.WriteCompletionHandler
extends reactor.core.publisher.BaseSubscriber<DataBuffer>
implements CompletionHandler<Integer,DataBufferUtils.WriteCompletionHandler.Attachment>
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 reactor.core.Disposable
reactor.core.Disposable.Composite, reactor.core.Disposable.Swap -
字段概要
字段修饰符和类型字段说明private final AsynchronousFileChannelprivate final AtomicBooleanprivate final AtomicReference<Throwable>private final AtomicLongprivate final reactor.core.publisher.FluxSink<DataBuffer>private final AtomicBoolean -
构造器概要
构造器构造器说明WriteCompletionHandler(reactor.core.publisher.FluxSink<DataBuffer> sink, AsynchronousFileChannel channel, long position) -
方法概要
修饰符和类型方法说明voidcompleted(Integer written, DataBufferUtils.WriteCompletionHandler.Attachment attachment) reactor.util.context.Contextvoidfailed(Throwable exc, DataBufferUtils.WriteCompletionHandler.Attachment attachment) protected voidprotected voidhookOnError(Throwable throwable) protected voidhookOnNext(DataBuffer dataBuffer) protected voidhookOnSubscribe(org.reactivestreams.Subscription subscription) 从类继承的方法 reactor.core.publisher.BaseSubscriber
cancel, dispose, hookFinally, hookOnCancel, isDisposed, onComplete, onError, onNext, onSubscribe, request, requestUnbounded, toString, upstream
-
字段详细资料
-
position
-
sink
-
channel
-
writing
-
completed
-
error
-
-
构造器详细资料
-
WriteCompletionHandler
public WriteCompletionHandler(reactor.core.publisher.FluxSink<DataBuffer> sink, AsynchronousFileChannel channel, long position)
-
-
方法详细资料
-
hookOnSubscribe
protected void hookOnSubscribe(org.reactivestreams.Subscription subscription) - 覆盖:
hookOnSubscribe在类中reactor.core.publisher.BaseSubscriber<DataBuffer>
-
hookOnNext
- 覆盖:
hookOnNext在类中reactor.core.publisher.BaseSubscriber<DataBuffer>
-
hookOnError
- 覆盖:
hookOnError在类中reactor.core.publisher.BaseSubscriber<DataBuffer>
-
hookOnComplete
protected void hookOnComplete()- 覆盖:
hookOnComplete在类中reactor.core.publisher.BaseSubscriber<DataBuffer>
-
completed
public void completed(Integer written, DataBufferUtils.WriteCompletionHandler.Attachment attachment) -
failed
-
currentContext
public reactor.util.context.Context currentContext()- 指定者:
currentContext在接口中reactor.core.CoreSubscriber<DataBuffer>
-