Package org.apache.qpid.server.model
Class ProducerImpl<X extends Producer<X>>
- java.lang.Object
-
- org.apache.qpid.server.model.AbstractConfiguredObject<ProducerImpl<X>>
-
- org.apache.qpid.server.model.ProducerImpl<X>
-
- All Implemented Interfaces:
ConfiguredObject<ProducerImpl<X>>
,ContextProvider
,PermissionedObject
,Producer<ProducerImpl<X>>
,TaskExecutorProvider
public class ProducerImpl<X extends Producer<X>> extends AbstractConfiguredObject<ProducerImpl<X>> implements Producer<ProducerImpl<X>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
-
Nested classes/interfaces inherited from interface org.apache.qpid.server.model.Producer
Producer.DestinationType
-
-
Field Summary
-
Fields inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
SECURED_STRING_VALUE
-
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
-
-
Constructor Summary
Constructors Constructor Description ProducerImpl(AbstractAMQPSession<?,?> session, PublishingLink publishingLink, MessageDestination messageDestination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
deleteNoChecks()
long
getBytesOut()
java.lang.String
getDestination()
Producer.DestinationType
getDestinationType()
int
getMessagesOut()
java.lang.String
getPrincipal()
java.lang.String
getRemoteAddress()
java.lang.String
getSessionId()
java.lang.String
getSessionName()
void
registerMessageDelivered(long messageSize)
-
Methods inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
addChangeListener, addChildAsync, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributesAsString, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, beforeClose, beforeDelete, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleteChildren, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getAccessControl, getActualAttributes, getAncestor, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, logCreated, logDeleted, logOperation, logRecovered, logUpdated, managesChildStorage, newToken, notifyStateChanged, onClose, onCreate, onDelete, onExceptionInOpen, onOpen, onResolve, onValidate, open, openAsync, postResolve, postResolveChildren, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, toString, updateModel, validateChange, validateChildDelete, validateOnCreate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
ProducerImpl
public ProducerImpl(AbstractAMQPSession<?,?> session, PublishingLink publishingLink, MessageDestination messageDestination)
-
-
Method Detail
-
deleteNoChecks
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> deleteNoChecks()
- Specified by:
deleteNoChecks
in interfaceProducer<X extends Producer<X>>
- Overrides:
deleteNoChecks
in classAbstractConfiguredObject<ProducerImpl<X extends Producer<X>>>
-
registerMessageDelivered
public void registerMessageDelivered(long messageSize)
- Specified by:
registerMessageDelivered
in interfaceProducer<X extends Producer<X>>
-
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionId
in interfaceProducer<X extends Producer<X>>
-
getSessionName
public java.lang.String getSessionName()
- Specified by:
getSessionName
in interfaceProducer<X extends Producer<X>>
-
getPrincipal
public java.lang.String getPrincipal()
- Specified by:
getPrincipal
in interfaceProducer<X extends Producer<X>>
-
getRemoteAddress
public java.lang.String getRemoteAddress()
- Specified by:
getRemoteAddress
in interfaceProducer<X extends Producer<X>>
-
getDestination
public java.lang.String getDestination()
- Specified by:
getDestination
in interfaceProducer<X extends Producer<X>>
-
getDestinationType
public Producer.DestinationType getDestinationType()
- Specified by:
getDestinationType
in interfaceProducer<X extends Producer<X>>
-
getMessagesOut
public int getMessagesOut()
- Specified by:
getMessagesOut
in interfaceProducer<X extends Producer<X>>
-
getBytesOut
public long getBytesOut()
- Specified by:
getBytesOut
in interfaceProducer<X extends Producer<X>>
-
-