RandomShift MembersAerospike

The RandomShift type exposes the following members.
Constructors

  NameDescription
Public methodRandomShift
Generate seeds using standard Random class.
Back to Top
Methods

  NameDescription
Public methodNext 
Generate random unsigned integer.
Public methodNext(Int32, Int32)
Generate random integer between begin (inclusive) and end (exclusive).
Public methodNextBytes
Generate random bytes.
Public methodNextLong
Generate random unsigned long value.
Public methodNextString
Generate a random string of given size.
Back to Top
Properties

  NameDescription
Public propertyStatic memberThreadLocalInstance
Get thread local instance of RandomShift. The instance does not need to be placed in IIS HttpContext because it will only be used immediately in the same thread as it was retrieved. IIS will not have a chance to switch threads on this instance.
Back to Top
See Also