Class: Aerospike::UserRoles

Inherits:
Object
  • Object
show all
Defined in:
lib/aerospike/user_role.rb

Overview

User and assigned roles.

Instance Attribute Summary collapse

Instance Attribute Details

#conns_in_useObject

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_infoObject

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

#rolesObject

List of assigned roles.



26
27
28
# File 'lib/aerospike/user_role.rb', line 26

def roles
  @roles
end

#userObject

User name.



23
24
25
# File 'lib/aerospike/user_role.rb', line 23

def user
  @user
end

#write_infoObject

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