Class responsible for managing durable subscriptions on a channel. More...
Public Member Functions | |
nDurable | add (nDurableAttributes durableAttributes) |
Creates a durable object on the channel assosiated with the durable manager instance with the given durable attributes. | |
void | delete (nDurable durable) |
Deletes the durable object from the channel assosiated with this durable manager instance. | |
void | delete (String name) |
Deletes the durable object from the channel assosiated with this durable manager instance. | |
nDurable | get (string name) |
Returns durable object instance for the requested name. | |
nDurable[] | getAll () |
Returns all durable objects existing on the channel assosiated with this durable manager instance. | |
void | unbind (nDurable durable) |
Unbinds the durable object from the current connection. | |
Class responsible for managing durable subscriptions on a channel.
Durable objects can be added, deleted and retrieved using the durable manager.
nDurable com.pcbsys.nirvana.client.nDurableManager.add | ( | nDurableAttributes | durableAttributes | ) |
Creates a durable object on the channel assosiated with the durable manager instance with the given durable attributes.
Creating durables with backing queue is no longer supported from this version.
durableAttributes | Attributes describing the durable object to be created. |
nIllegalStateException | Thrown if the client attempts to create shared durable object with queue support. |
nIllegalArgumentException | Thrown when illegal argumets are given - null attributes or unsupported channel types. |
void com.pcbsys.nirvana.client.nDurableManager.delete | ( | nDurable | durable | ) |
Deletes the durable object from the channel assosiated with this durable manager instance.
Operation is not supported for shared durables with backed queue.
durable | Durable object to be deleted. |
nIllegalStateException | Thrown if the client requests to delete not supported durable type. |
nIllegalArgumentException | Thrown when illegal argumets are given. |
void com.pcbsys.nirvana.client.nDurableManager.delete | ( | String | name | ) |
Deletes the durable object from the channel assosiated with this durable manager instance.
Operation is not supported for shared durables with backed queue.
name | Name of the Durable object to be deleted. |
nIllegalStateException | Thrown if the client requests to delete not supported durable type. |
nIllegalArgumentException | Thrown when illegal argumets are given. |
nDurable com.pcbsys.nirvana.client.nDurableManager.get | ( | string | name | ) |
Returns durable object instance for the requested name.
Retrieving shared durable objects with hidden queue is no longer supported from this version on.
name | Name of the durable object to be retrieved |
nIllegalStateException | Thrown if the client requests to get not supported durable type. |
nIllegalArgumentException | Thrown when illegal argumets are given. |
nDurable[] com.pcbsys.nirvana.client.nDurableManager.getAll | ( | ) |
Returns all durable objects existing on the channel assosiated with this durable manager instance.
void com.pcbsys.nirvana.client.nDurableManager.unbind | ( | nDurable | durable | ) |
Unbinds the durable object from the current connection.
durable | Durable object requested to be unbound |
nIllegalStateException | Thrown if the client requests unbinding for not supported durable type. |
nIllegalArgumentException | Thrown when illegal argumets are given. |