Class ReactiveRedisConnection.AbsentByteBufferResponse<I>
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.CommandResponse<I, ByteBuffer>
org.springframework.data.redis.connection.ReactiveRedisConnection.ByteBufferResponse<I>
org.springframework.data.redis.connection.ReactiveRedisConnection.AbsentByteBufferResponse<I>
- Enclosing interface:
ReactiveRedisConnection
public static class ReactiveRedisConnection.AbsentByteBufferResponse<I>
extends ReactiveRedisConnection.ByteBufferResponse<I>
ReactiveRedisConnection.CommandResponse
implementation for ByteBuffer
responses for absent keys.- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch
-
Constructor Details
-
AbsentByteBufferResponse
-
-
Method Details
-
isPresent
public boolean isPresent()- Overrides:
isPresent
in classReactiveRedisConnection.CommandResponse<I, ByteBuffer>
- Returns:
- true if the response is present. An absent
ReactiveRedisConnection.CommandResponse
maps to Redis (nil).
-