Packagecom.pcbsys.nirvana.client
Classpublic class nChannelAttributes
InheritancenChannelAttributes Inheritance nStoreAttributes Inheritance Object

This class is a container for the attributes necessary to create or locate a Nirvana channel



Public Properties
 PropertyDefined By
  deadEventChannelId : Long
[read-only] Gets the dead event channel ID
nChannelAttributes
  isClusterWide : Boolean
[read-only] Is this channel cluster wide
nChannelAttributes
  maxEvents : int
Gets the maximum number of events the channel can contain.
nChannelAttributes
  name : String
Gets the channel name
nChannelAttributes
  publishKeys : Array
Returns an array of nChannelPublishKeys
nChannelAttributes
  TTL : Long
Gets the Time To Live (TTL) value that will be applied to each event contained in the channel
nChannelAttributes
  type : int
Gets the channel type
nChannelAttributes
  uniqueId : Long
[read-only] Gets the Unique ID value for the channel
nChannelAttributes
  useJMSEngine : Boolean
[read-only] Specifies whether this channel will use the JMS Style fanout engine.
nChannelAttributes
  useMergeEngine : Boolean
Checks whether this channel will use the Merge and Update Style fanout engine.
nChannelAttributes
Public Methods
 MethodDefined By
  
nChannelAttributes(channelAttributes:nChannelAttributes = null)
Constructs from an instance of nChannelAttributes else just creates a new instance
nChannelAttributes
 Inherited
isChannel():Boolean
Checks if this nStoreAttribute is a channel
nStoreAttributes
 Inherited
isQueue():Boolean
Checks if this nStoreAttribute is a queue
nStoreAttributes
Public Constants
 ConstantDefined By
  MIXED_TYPE : int
[static] Used to create a mixed channel type
nChannelAttributes
  OFF_HEAP_TYPE : int
[static] Used to create a off heap channel type
nChannelAttributes
  PAGED_TYPE : int
[static] Used to create a paged channel type
nChannelAttributes
  PERSISTENT_TYPE : int
[static] Used to create a persistent channel type
nChannelAttributes
  RELIABLE_TYPE : int
[static] Used to create a reliable channel type
nChannelAttributes
  SIMPLE_TYPE : int
[static] Used to create a simple channel type
nChannelAttributes
  TRANSIENT_TYPE : int
[static] Used to create a transient channel type
nChannelAttributes
Property Detail
deadEventChannelIdproperty
deadEventChannelId:Long  [read-only]

Gets the dead event channel ID


Implementation
    public function get deadEventChannelId():Long
isClusterWideproperty 
isClusterWide:Boolean  [read-only]

Is this channel cluster wide


Implementation
    public function get isClusterWide():Boolean
maxEventsproperty 
maxEvents:int

Gets the maximum number of events the channel can contain. (i.e. the capacity)


Implementation
    public function get maxEvents():int
    public function set maxEvents(value:int):void
nameproperty 
name:String

Gets the channel name


Implementation
    public function get name():String
    public function set name(value:String):void
publishKeysproperty 
publishKeys:Array

Returns an array of nChannelPublishKeys


Implementation
    public function get publishKeys():Array
    public function set publishKeys(value:Array):void
TTLproperty 
TTL:Long

Gets the Time To Live (TTL) value that will be applied to each event contained in the channel


Implementation
    public function get TTL():Long
    public function set TTL(value:Long):void
typeproperty 
type:int

Gets the channel type


Implementation
    public function get type():int
    public function set type(value:int):void
uniqueIdproperty 
uniqueId:Long  [read-only]

Gets the Unique ID value for the channel


Implementation
    public function get uniqueId():Long
useJMSEngineproperty 
useJMSEngine:Boolean  [read-only]

Specifies whether this channel will use the JMS Style fanout engine.


Implementation
    public function get useJMSEngine():Boolean
useMergeEngineproperty 
useMergeEngine:Boolean

Checks whether this channel will use the Merge and Update Style fanout engine.


Implementation
    public function get useMergeEngine():Boolean
    public function set useMergeEngine(value:Boolean):void
Constructor Detail
nChannelAttributes()Constructor
public function nChannelAttributes(channelAttributes:nChannelAttributes = null)

Constructs from an instance of nChannelAttributes else just creates a new instance

Parameters
channelAttributes:nChannelAttributes (default = null) — The attributes of a channel that it uses to create this attribute
Constant Detail
MIXED_TYPEConstant
public static const MIXED_TYPE:int

Used to create a mixed channel type

OFF_HEAP_TYPEConstant 
public static const OFF_HEAP_TYPE:int

Used to create a off heap channel type

PAGED_TYPEConstant 
public static const PAGED_TYPE:int

Used to create a paged channel type

PERSISTENT_TYPEConstant 
public static const PERSISTENT_TYPE:int

Used to create a persistent channel type

RELIABLE_TYPEConstant 
public static const RELIABLE_TYPE:int

Used to create a reliable channel type

SIMPLE_TYPEConstant 
public static const SIMPLE_TYPE:int

Used to create a simple channel type

TRANSIENT_TYPEConstant 
public static const TRANSIENT_TYPE:int

Used to create a transient channel type