DefaultFlushCheckpoint Class — netty Architecture
Architecture documentation for the DefaultFlushCheckpoint class in ChannelFlushPromiseNotifier.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 743ffb49_9e0b_6e41_5782_808d0f04f85c["DefaultFlushCheckpoint"] 70b12992_15ed_37d6_6d32_c69e921cfb0b["ChannelFlushPromiseNotifier.java"] 743ffb49_9e0b_6e41_5782_808d0f04f85c -->|defined in| 70b12992_15ed_37d6_6d32_c69e921cfb0b 95316230_75d4_f515_2067_9ff9cb3729bc["DefaultFlushCheckpoint()"] 743ffb49_9e0b_6e41_5782_808d0f04f85c -->|method| 95316230_75d4_f515_2067_9ff9cb3729bc d267af4b_9032_e31a_9ece_e1dad7a68a6d["flushCheckpoint()"] 743ffb49_9e0b_6e41_5782_808d0f04f85c -->|method| d267af4b_9032_e31a_9ece_e1dad7a68a6d 1afcaa79_6444_d2cf_c06c_a08ecc0b443a["ChannelPromise()"] 743ffb49_9e0b_6e41_5782_808d0f04f85c -->|method| 1afcaa79_6444_d2cf_c06c_a08ecc0b443a
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/ChannelFlushPromiseNotifier.java lines 249–272
private static class DefaultFlushCheckpoint implements FlushCheckpoint {
private long checkpoint;
private final ChannelPromise future;
DefaultFlushCheckpoint(long checkpoint, ChannelPromise future) {
this.checkpoint = checkpoint;
this.future = future;
}
@Override
public long flushCheckpoint() {
return checkpoint;
}
@Override
public void flushCheckpoint(long checkpoint) {
this.checkpoint = checkpoint;
}
@Override
public ChannelPromise promise() {
return future;
}
}
Source
Frequently Asked Questions
What is the DefaultFlushCheckpoint class?
DefaultFlushCheckpoint is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/ChannelFlushPromiseNotifier.java.
Where is DefaultFlushCheckpoint defined?
DefaultFlushCheckpoint is defined in transport/src/main/java/io/netty/channel/ChannelFlushPromiseNotifier.java at line 249.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free