18 #ifndef _ACTIVEMQ_TRANSPORT_FAILOVER_BACKUPTRANSPORTPOOL_H_ 19 #define _ACTIVEMQ_TRANSPORT_FAILOVER_BACKUPTRANSPORTPOOL_H_ 40 class BackupTransportPoolImpl;
41 class FailoverTransport;
48 BackupTransportPoolImpl* impl;
56 volatile int backupPoolSize;
57 volatile bool enabled;
58 volatile int maxReconnectDelay;
87 virtual bool isPending()
const;
101 virtual bool iterate();
108 return this->backupPoolSize;
116 this->backupPoolSize = size;
126 return this->enabled;
135 void setEnabled(
bool value);
143 bool isPriorityBackupAvailable()
const;
#define AMQCPP_API
Definition: Config.h:30
Definition: BackupTransportPool.h:43
void setBackupPoolSize(int size)
Sets the Max number of Backups this Task will create.
Definition: BackupTransportPool.h:115
bool isEnabled() const
Gets if the backup Transport Pool has been enabled or not, when not enabled no backups are created an...
Definition: BackupTransportPool.h:125
int getBackupPoolSize() const
Gets the Max number of Backups this Task will create.
Definition: BackupTransportPool.h:107
A Task Runner that can contain one or more CompositeTasks that are each checked for pending work and ...
Definition: CompositeTaskRunner.h:40
Represents a single task that can be part of a set of Tasks that are contained in a CompositeTaskRunn...
Definition: CompositeTask.h:33
This class represents an instance of a URI as defined by RFC 2396.
Definition: URI.h:36
Definition: FailoverTransport.h:48
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
Definition: BackupTransport.h:37
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
A complete implementation of the List interface using a doubly linked list data structure.
Definition: LinkedList.h:55