com.pcbsys.nirvana.client.nSharedDurableAttributes Class Reference

This class is a container for the attributes necessary to create or locate a Durable object on a channel. More...

Inheritance diagram for com.pcbsys.nirvana.client.nSharedDurableAttributes:
com.pcbsys.nirvana.client.nDurableAttributes

Public Member Functions

String getFilter ()
 Returns the current filter if supplied, used only by the Shared Durable objects. More...
 
int getWindowSize ()
 Gets window size. More...
 
void setFilter (String filter) throws nIllegalArgumentException
 If the Durable is of type Shared or SharedQueue sets the filter string for the server to use. More...
 
void setWindowSize (int windowSize)
 Sets window size. More...
 
- Public Member Functions inherited from com.pcbsys.nirvana.client.nDurableAttributes
String getName ()
 Returns the name of the durable store. More...
 
String getSelector ()
 Returns the current filter if supplied, used only by the Shared Durable objects. More...
 
long getStartEID ()
 Gets start eid. More...
 
nDurableType getType ()
 Returns the current type of the durable name. More...
 
boolean isClustered ()
 Indicates if the durable name is to be sent across the cluster or not. More...
 
boolean isPersistent ()
 Returns if the durable names state will be saved to disk on the server or not. More...
 
void setClustered (boolean clustered)
 If true then this durable name will be initialied and updated across all cluster nodes. More...
 
void setPersistent (boolean persistent) throws nIllegalArgumentException
 If true the server will save the state of the durable name when it changes. More...
 
void setSelector (String filter) throws nIllegalArgumentException
 If the Durable is of type Shared or SharedQueue sets the filter string for the server to use. More...
 
void setStartEID (long startEID)
 Sets the initial EID that the durable name will bind to on the topic. More...
 

Protected Member Functions

 nSharedDurableAttributes (nDurableType type, String name)
 Instantiates a nSharedDurableAttributes. More...
 
- Protected Member Functions inherited from com.pcbsys.nirvana.client.nDurableAttributes
 nDurableAttributes (nDurableType type, String name)
 Instantiates a new N durable attributes. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from com.pcbsys.nirvana.client.nDurableAttributes
static nDurableAttributes create (nDurableType type, String name) throws nIllegalArgumentException
 A static factory method used for creating nDurableAttributes objects. More...
 
- Protected Attributes inherited from com.pcbsys.nirvana.client.nDurableAttributes
boolean isPersistent
 The Is persistent.
 
String mySelector
 The My selector.
 

Detailed Description

This class is a container for the attributes necessary to create or locate a Durable object on a channel.

Constructor & Destructor Documentation

com.pcbsys.nirvana.client.nSharedDurableAttributes.nSharedDurableAttributes ( nDurableType  type,
String  name 
)
protected

Instantiates a nSharedDurableAttributes.

Parameters
typethe type of durable.
namethe name

Member Function Documentation

String com.pcbsys.nirvana.client.nSharedDurableAttributes.getFilter ( )

Returns the current filter if supplied, used only by the Shared Durable objects.

Returns
String representation of the Selector to use
Deprecated:
Use the nDurableAttribute.getSelector()
int com.pcbsys.nirvana.client.nSharedDurableAttributes.getWindowSize ( )

Gets window size.

Returns
the window size
void com.pcbsys.nirvana.client.nSharedDurableAttributes.setFilter ( String  filter) throws nIllegalArgumentException

If the Durable is of type Shared or SharedQueue sets the filter string for the server to use.

Parameters
filterString for the server to use
Exceptions
nIllegalArgumentExceptionthe n illegal argument exception
Deprecated:
Use the nDurableAttribute.setSelector(String selector)
void com.pcbsys.nirvana.client.nSharedDurableAttributes.setWindowSize ( int  windowSize)

Sets window size.

Parameters
windowSizethe window size