Class RedisClientInfo
java.lang.Object
org.springframework.data.redis.core.types.RedisClientInfo
RedisClientInfo provides general and statistical information about client connections.- Since:
- 1.3
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic class -
Constructor Summary
ConstructorsConstructorDescriptionRedisClientInfo(Properties properties) CreateRedisClientInfofromProperties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(RedisClientInfo.INFO info) Get address/port of the client.getAge()Get total duration of the connection in seconds.Get the free space of the query buffer.Get the query buffer length.Get number of channel subscriptions.Get current database index.Get file descriptor events.Get file descriptor corresponding to the socketgetFlags()Get client flags.getIdle()Get idle time of the connection in seconds.Get last command played.Get the number of commands in a MULTI/EXEC context.getName()Get the clients name.Get the output buffer length.Get output buffer memory usage.Get number queued replies in output buffer.Get number of pattern subscriptions.inthashCode()toString()
-
Constructor Details
-
RedisClientInfo
CreateRedisClientInfofromProperties.- Parameters:
properties- must not be null.
-
-
Method Details
-
getAddressPort
-
getFileDescriptor
-
getName
-
getAge
-
getIdle
-
getFlags
-
getDatabaseId
-
getChannelSubscribtions
-
getPatternSubscrbtions
-
getMultiCommandContext
-
getBufferLength
-
getBufferFreeSpace
-
getOutputBufferLength
-
getOutputListLength
-
getOutputBufferMemoryUsage
-
getEvents
-
getLastCommand
-
get
- Parameters:
info- must not be null- Returns:
- null if no entry found for requested
RedisClientInfo.INFO.
-
get
-
toString
-
equals
-
hashCode
-