Uses of Interface
org.apache.cassandra.streaming.StreamingDataOutputPlus.RateLimiter
Packages that use StreamingDataOutputPlus.RateLimiter
-
Uses of StreamingDataOutputPlus.RateLimiter in org.apache.cassandra.net
Methods in org.apache.cassandra.net with parameters of type StreamingDataOutputPlus.RateLimiterModifier and TypeMethodDescriptionlongAsyncStreamingOutputPlus.writeFileToChannel(FileChannel file, StreamingDataOutputPlus.RateLimiter limiter) Writes all data in file channel to stream:
* For zero-copy-streaming, 1MiB at a time, with at most 2MiB in flight at once.intAsyncStreamingOutputPlus.writeToChannel(StreamingDataOutputPlus.Write write, StreamingDataOutputPlus.RateLimiter limiter) Provide a lambda that can request a buffer of suitable size, then fill the buffer and have that buffer written and flushed to the underlying channel, without having to handle buffer allocation, lifetime or cleanup, including in case of exceptions. -
Uses of StreamingDataOutputPlus.RateLimiter in org.apache.cassandra.streaming
Classes in org.apache.cassandra.streaming that implement StreamingDataOutputPlus.RateLimiterMethods in org.apache.cassandra.streaming with parameters of type StreamingDataOutputPlus.RateLimiterModifier and TypeMethodDescriptionlongStreamingDataOutputPlus.writeFileToChannel(FileChannel file, StreamingDataOutputPlus.RateLimiter limiter) Writes all data in file channel to stream:
* For zero-copy-streaming, 1MiB at a time, with at most 2MiB in flight at once.longStreamingDataOutputPlusFixed.writeFileToChannel(FileChannel file, StreamingDataOutputPlus.RateLimiter limiter) intStreamingDataOutputPlus.writeToChannel(StreamingDataOutputPlus.Write write, StreamingDataOutputPlus.RateLimiter limiter) Provide a lambda that can request a buffer of suitable size, then fill the buffer and have that buffer written and flushed to the underlying channel, without having to handle buffer allocation, lifetime or cleanup, including in case of exceptions.intStreamingDataOutputPlusFixed.writeToChannel(StreamingDataOutputPlus.Write write, StreamingDataOutputPlus.RateLimiter limiter)