Uses of Interface
org.apache.activemq.artemis.core.persistence.OperationContext
Packages that use OperationContext
Package
Description
-
Uses of OperationContext in org.apache.activemq.artemis.core.paging.impl
Methods in org.apache.activemq.artemis.core.paging.impl with parameters of type OperationContextModifier and TypeMethodDescriptionintPageTimedWriter.addTask(OperationContext context, PagedMessage message, Transaction tx, RouteContextList listCtx, boolean useFlowControl) -
Uses of OperationContext in org.apache.activemq.artemis.core.persistence
Methods in org.apache.activemq.artemis.core.persistence that return OperationContextModifier and TypeMethodDescriptionStorageManager.getContext()Get the context associated with the thread for later reuseStorageManager.newContext(Executor executor) It just creates an OperationContext without associating itStorageManager.newSingleThreadContext()Methods in org.apache.activemq.artemis.core.persistence with parameters of type OperationContextModifier and TypeMethodDescriptionvoidStorageManager.setContext(OperationContext context) Set the context back to the thread -
Uses of OperationContext in org.apache.activemq.artemis.core.persistence.impl.journal
Classes in org.apache.activemq.artemis.core.persistence.impl.journal that implement OperationContextModifier and TypeClassDescriptionfinal classclassEach instance of OperationContextImpl is associated with an executor (usually an ordered Executor).Methods in org.apache.activemq.artemis.core.persistence.impl.journal that return OperationContextModifier and TypeMethodDescriptionAbstractJournalStorageManager.getContext()static final OperationContextOperationContextImpl.getContext()static OperationContextOperationContextImpl.getContext(ExecutorFactory executorFactory) static OperationContextDummyOperationContext.getInstance()AbstractJournalStorageManager.newContext(Executor executor1) AbstractJournalStorageManager.newSingleThreadContext()Methods in org.apache.activemq.artemis.core.persistence.impl.journal with parameters of type OperationContextModifier and TypeMethodDescriptionvoidAbstractJournalStorageManager.setContext(OperationContext context) static voidOperationContextImpl.setContext(OperationContext context) -
Uses of OperationContext in org.apache.activemq.artemis.core.persistence.impl.nullpm
Methods in org.apache.activemq.artemis.core.persistence.impl.nullpm that return OperationContextModifier and TypeMethodDescriptionNullStorageManager.getContext()NullStorageManager.newContext(Executor executor) NullStorageManager.newSingleThreadContext()Methods in org.apache.activemq.artemis.core.persistence.impl.nullpm with parameters of type OperationContextMethod parameters in org.apache.activemq.artemis.core.persistence.impl.nullpm with type arguments of type OperationContextModifier and TypeMethodDescriptionNullStorageManager.setContextSupplier(Supplier<OperationContext> contextSupplier) -
Uses of OperationContext in org.apache.activemq.artemis.core.replication
Methods in org.apache.activemq.artemis.core.replication that return OperationContextModifier and TypeMethodDescriptionReplicationManager.sendPrimaryIsStopping(ReplicationPrimaryIsStoppingMessage.PrimaryStopping finalMessage) Notifies the backup that the primary server is stopping.Methods in org.apache.activemq.artemis.core.replication that return types with arguments of type OperationContextModifier and TypeMethodDescriptionReplicationManager.getActiveTokens()A list of tokens that are still waiting for replications to be completed -
Uses of OperationContext in org.apache.activemq.artemis.core.server
Methods in org.apache.activemq.artemis.core.server that return OperationContextModifier and TypeMethodDescriptionServerSession.getSessionContext()ActiveMQServer.newOperationContext()Methods in org.apache.activemq.artemis.core.server with parameters of type OperationContextModifier and TypeMethodDescriptionActiveMQServer.createInternalSession(String name, int minLargeMessageSize, RemotingConnection remotingConnection, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean xa, String defaultAddress, SessionCallback callback, boolean autoCreateQueues, OperationContext context, Map<SimpleString, RoutingType> prefixes, String securityDomain, boolean isLegacyProducer) This is to be used in places where security is bypassed, like internal sessions, broker connections, etc...ActiveMQServer.createSession(String name, String username, String password, int minLargeMessageSize, RemotingConnection remotingConnection, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean xa, String defaultAddress, SessionCallback callback, boolean autoCreateQueues, OperationContext context, Map<SimpleString, RoutingType> prefixes, String securityDomain, String validatedUser, boolean isLegacyProducer) voidQueue.recheckRefCount(OperationContext context) This is to perform a check on the counter again -
Uses of OperationContext in org.apache.activemq.artemis.core.server.impl
Methods in org.apache.activemq.artemis.core.server.impl that return OperationContextModifier and TypeMethodDescriptionServerSessionImpl.getSessionContext()ActiveMQServerImpl.newOperationContext()Methods in org.apache.activemq.artemis.core.server.impl with parameters of type OperationContextModifier and TypeMethodDescriptionActiveMQServerImpl.createInternalSession(String name, int minLargeMessageSize, RemotingConnection connection, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean xa, String defaultAddress, SessionCallback callback, boolean autoCreateQueues, OperationContext context, Map<SimpleString, RoutingType> prefixes, String securityDomain, boolean isLegacyProducer) ActiveMQServerImpl.createSession(String name, String username, String password, int minLargeMessageSize, RemotingConnection connection, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean xa, String defaultAddress, SessionCallback callback, boolean autoCreateQueues, OperationContext context, Map<SimpleString, RoutingType> prefixes, String securityDomain, String validatedUser, boolean isLegacyProducer) protected ServerSessionImplActiveMQServerImpl.internalCreateSession(String name, String username, String password, String validatedUser, int minLargeMessageSize, RemotingConnection connection, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean xa, String defaultAddress, SessionCallback callback, OperationContext context, boolean autoCreateQueues, Map<SimpleString, RoutingType> prefixes, String securityDomain, boolean isLegacyProducer) voidQueueImpl.recheckRefCount(OperationContext context) Constructors in org.apache.activemq.artemis.core.server.impl with parameters of type OperationContextModifierConstructorDescriptionServerSessionImpl(String name, String username, String password, String validatedUser, int minLargeMessageSize, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean strictUpdateDeliveryCount, boolean xa, RemotingConnection remotingConnection, StorageManager storageManager, PostOffice postOffice, ResourceManager resourceManager, SecurityStore securityStore, ManagementService managementService, ActiveMQServer server, SimpleString managementAddress, SimpleString defaultAddress, SessionCallback callback, OperationContext context, PagingManager pagingManager, Map<SimpleString, RoutingType> prefixes, String securityDomain, boolean isLegacyProducer) -
Uses of OperationContext in org.apache.activemq.artemis.core.server.plugin
Methods in org.apache.activemq.artemis.core.server.plugin with parameters of type OperationContextModifier and TypeMethodDescriptiondefault voidActiveMQServerSessionPlugin.beforeCreateSession(String name, String username, int minLargeMessageSize, RemotingConnection connection, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean xa, String defaultAddress, SessionCallback callback, boolean autoCreateQueues, OperationContext context, Map<SimpleString, RoutingType> prefixes) Before a session is created. -
Uses of OperationContext in org.apache.activemq.artemis.core.server.plugin.impl
Methods in org.apache.activemq.artemis.core.server.plugin.impl with parameters of type OperationContextModifier and TypeMethodDescriptionvoidLoggingActiveMQServerPlugin.beforeCreateSession(String name, String username, int minLargeMessageSize, RemotingConnection connection, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, boolean xa, String publicAddress, SessionCallback callback, boolean autoCreateQueues, OperationContext context, Map<SimpleString, RoutingType> prefixes) Before a session is created.