Packagecom.pcbsys.nirvana.client
Classpublic class nTransactionAttributes
InheritancenTransactionAttributes Inheritance Object

This class is a container for the attributes necessary to create a Nirvana transaction



Public Properties
 PropertyDefined By
  store : nStore
[read-only] Gets the nirvana store that will be associated with transactions created from this object
nTransactionAttributes
  TTL : Long
Gets the TTL value that transactions created from this object will have
nTransactionAttributes
Public Methods
 MethodDefined By
  
nTransactionAttributes(store:nStore, timeToLive:Number)
Constructs an nTransactionAttributes object associated with the channel specified.
nTransactionAttributes
Property Detail
storeproperty
store:nStore  [read-only]

Gets the nirvana store that will be associated with transactions created from this object


Implementation
    public function get store():nStore
TTLproperty 
TTL:Long

Gets the TTL value that transactions created from this object will have


Implementation
    public function get TTL():Long
    public function set TTL(value:Long):void
Constructor Detail
nTransactionAttributes()Constructor
public function nTransactionAttributes(store:nStore, timeToLive:Number)

Constructs an nTransactionAttributes object associated with the channel specified. Transactions created with this object will have the Time To Live (TTL) specified.

Parameters
store:nStore — The nirvana store associated with the transaction
 
timeToLive:Number — The Time To Live (TTL) value that the transaction will have

Throws
nTransactionError — If there is an error during the construction, check the message for more information
 
nStoreNullError — If a null nStore is passed in
 
com.pcbsys.nirvana.client.error:nTransactionTimeoutExceedsServersError();