|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.redis.core.types.RedisClientInfo
public class RedisClientInfo
RedisClientInfo provides general and statistical information about client connections.
| Nested Class Summary | |
|---|---|
static class |
RedisClientInfo.INFO
|
static class |
RedisClientInfo.RedisClientInfoBuilder
|
| Constructor Summary | |
|---|---|
RedisClientInfo(Properties properties)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
get(RedisClientInfo.INFO info)
|
String |
get(String key)
|
String |
getAddressPort()
Get address/port of the client. |
Long |
getAge()
Get total duration of the connection in seconds. |
Long |
getBufferFreeSpace()
Get the free space of the query buffer. |
Long |
getBufferLength()
Get the query buffer length. |
Long |
getChannelSubscribtions()
Get number of channel subscriptions. |
Long |
getDatabaseId()
Get current database index. |
String |
getEvents()
Get file descriptor events. |
String |
getFileDescriptor()
Get file descriptor corresponding to the socket |
String |
getFlags()
Get client flags. |
Long |
getIdle()
Get idle time of the connection in seconds. |
String |
getLastCommand()
Get last command played. |
Long |
getMultiCommandContext()
Get the number of commands in a MULTI/EXEC context. |
String |
getName()
Get the clients name. |
Long |
getOutputBufferLength()
Get the output buffer length. |
Long |
getOutputBufferMemoryUsage()
Get output buffer memory usage. |
Long |
getOutputListLength()
Get number queued replies in output buffer. |
Long |
getPatternSubscrbtions()
Get number of pattern subscriptions. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RedisClientInfo(Properties properties)
| Method Detail |
|---|
public String getAddressPort()
public String getFileDescriptor()
public String getName()
public Long getAge()
public Long getIdle()
public String getFlags()
public Long getDatabaseId()
public Long getChannelSubscribtions()
public Long getPatternSubscrbtions()
public Long getMultiCommandContext()
public Long getBufferLength()
public Long getBufferFreeSpace()
public Long getOutputBufferLength()
public Long getOutputListLength()
public Long getOutputBufferMemoryUsage()
public String getEvents()
public String getLastCommand()
public String get(RedisClientInfo.INFO info)
info - must not be null
RedisClientInfo.INFO.public String get(String key)
key - must not be null or empty.
key.public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||