Package org.apache.qpid.server.model
Interface Session<X extends Session<X>>
-
- All Superinterfaces:
ConfiguredObject<X>
,ContextProvider
,PermissionedObject
,TaskExecutorProvider
- All Known Subinterfaces:
AMQPSession<S,X>
- All Known Implementing Classes:
AbstractAMQPSession
public interface Session<X extends Session<X>> extends ConfiguredObject<X>
-
-
Field Summary
Fields Modifier and Type Field Description static String
CHANNEL_ID
static String
PRODUCER_AUTH_CACHE_SIZE
static int
PRODUCER_AUTH_CACHE_SIZE_DEFAULT
static String
PRODUCER_AUTH_CACHE_TIMEOUT
static long
PRODUCER_AUTH_CACHE_TIMEOUT_DEFAULT
static String
PRODUCER_FLOW_BLOCKED
static String
TRANSACTION_TIMEOUT_NOTIFICATION_REPEAT_PERIOD
static long
TRANSACTION_TIMEOUT_NOTIFICATION_REPEAT_PERIOD_DEFAULT
-
Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject
AWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBytesIn()
long
getBytesOut()
int
getChannelId()
long
getConsumerCount()
Set<? extends Consumer<?,?>>
getConsumers()
long
getMessagesIn()
long
getMessagesOut()
long
getProducerCount()
long
getTransactedMessagesIn()
long
getTransactedMessagesOut()
long
getUnacknowledgedMessages()
boolean
isProducerFlowBlocked()
void
resetStatistics()
-
Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject
addChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
-
Methods inherited from interface org.apache.qpid.server.model.ContextProvider
getContextKeys, getContextValue, getContextValue
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
-
-
-
Field Detail
-
CHANNEL_ID
static final String CHANNEL_ID
- See Also:
- Constant Field Values
-
PRODUCER_FLOW_BLOCKED
static final String PRODUCER_FLOW_BLOCKED
- See Also:
- Constant Field Values
-
TRANSACTION_TIMEOUT_NOTIFICATION_REPEAT_PERIOD
static final String TRANSACTION_TIMEOUT_NOTIFICATION_REPEAT_PERIOD
- See Also:
- Constant Field Values
-
TRANSACTION_TIMEOUT_NOTIFICATION_REPEAT_PERIOD_DEFAULT
static final long TRANSACTION_TIMEOUT_NOTIFICATION_REPEAT_PERIOD_DEFAULT
- See Also:
- Constant Field Values
-
PRODUCER_AUTH_CACHE_SIZE
static final String PRODUCER_AUTH_CACHE_SIZE
- See Also:
- Constant Field Values
-
PRODUCER_AUTH_CACHE_SIZE_DEFAULT
static final int PRODUCER_AUTH_CACHE_SIZE_DEFAULT
- See Also:
- Constant Field Values
-
PRODUCER_AUTH_CACHE_TIMEOUT
static final String PRODUCER_AUTH_CACHE_TIMEOUT
- See Also:
- Constant Field Values
-
PRODUCER_AUTH_CACHE_TIMEOUT_DEFAULT
static final long PRODUCER_AUTH_CACHE_TIMEOUT_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChannelId
int getChannelId()
-
isProducerFlowBlocked
boolean isProducerFlowBlocked()
-
getConsumerCount
long getConsumerCount()
-
getUnacknowledgedMessages
long getUnacknowledgedMessages()
-
getBytesIn
long getBytesIn()
-
getBytesOut
long getBytesOut()
-
getMessagesIn
long getMessagesIn()
-
getMessagesOut
long getMessagesOut()
-
getTransactedMessagesIn
long getTransactedMessagesIn()
-
getTransactedMessagesOut
long getTransactedMessagesOut()
-
resetStatistics
void resetStatistics()
-
getProducerCount
long getProducerCount()
-
-