Package redis.clients.jedis
Class AccessControlLogEntry
- java.lang.Object
-
- redis.clients.jedis.AccessControlLogEntry
-
- All Implemented Interfaces:
Serializable
public class AccessControlLogEntry extends Object implements Serializable
This class holds information about an Access Control Log entry (returned by ACL LOG command) They can be access via getters. For future purpose there is alsogetlogEntry()method that returns a genericMap- in case where more info is returned from a server- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccessControlLogEntry(Map<String,Object> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAgeSeconds()Map<String,String>getClientInfo()StringgetContext()longgetCount()Map<String,Object>getlogEntry()StringgetObject()StringgetReason()StringgetUsername()StringtoString()
-
-
-
Field Detail
-
COUNT
public static final String COUNT
- See Also:
- Constant Field Values
-
REASON
public static final String REASON
- See Also:
- Constant Field Values
-
CONTEXT
public static final String CONTEXT
- See Also:
- Constant Field Values
-
OBJECT
public static final String OBJECT
- See Also:
- Constant Field Values
-
USERNAME
public static final String USERNAME
- See Also:
- Constant Field Values
-
AGE_SECONDS
public static final String AGE_SECONDS
- See Also:
- Constant Field Values
-
CLIENT_INFO
public static final String CLIENT_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCount
public long getCount()
-
getReason
public String getReason()
-
getContext
public String getContext()
-
getObject
public String getObject()
-
getUsername
public String getUsername()
-
getAgeSeconds
public String getAgeSeconds()
-
getlogEntry
public Map<String,Object> getlogEntry()
- Returns:
- Generic map containing all key-value pairs returned by the server
-
-