Class: Aerospike::UserRoles
- Inherits:
-
Object
- Object
- Aerospike::UserRoles
- Defined in:
- lib/aerospike/user_role.rb
Overview
User and assigned roles.
Instance Attribute Summary collapse
-
#conns_in_use ⇒ Object
Number of currently open connections for the user.
-
#read_info ⇒ Object
List of read statistics.
-
#roles ⇒ Object
List of assigned roles.
-
#user ⇒ Object
User name.
-
#write_info ⇒ Object
List of write statistics.
Instance Attribute Details
#conns_in_use ⇒ Object
Number of currently open connections for the user
51 52 53 |
# File 'lib/aerospike/user_role.rb', line 51 def conns_in_use @conns_in_use end |
#read_info ⇒ Object
List of read statistics. List may be nil. Current statistics by offset are:
0: read quota in records per second 1: single record read transaction rate (TPS) 2: read scan/query record per second rate (RPS) 3: number of limitless read scans/queries
Future server releases may add additional statistics.
37 38 39 |
# File 'lib/aerospike/user_role.rb', line 37 def read_info @read_info end |
#roles ⇒ Object
List of assigned roles.
26 27 28 |
# File 'lib/aerospike/user_role.rb', line 26 def roles @roles end |
#user ⇒ Object
User name.
23 24 25 |
# File 'lib/aerospike/user_role.rb', line 23 def user @user end |
#write_info ⇒ Object
List of write statistics. List may be nil. Current statistics by offset are:
0: write quota in records per second 1: single record write transaction rate (TPS) 2: write scan/query record per second rate (RPS) 3: number of limitless write scans/queries
Future server releases may add additional statistics.
48 49 50 |
# File 'lib/aerospike/user_role.rb', line 48 def write_info @write_info end |