public final class ForwardDistributionAgentMBeanImpl extends Object implements ForwardDistributionAgentMBean
| Constructor and Description |
|---|
ForwardDistributionAgentMBeanImpl(DistributionAgent agent,
Map<String,Object> osgiConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedRoots()
If set the agent will allow only distribution requests under the specified roots.
|
String |
getDetails()
The display friendly details of the agent.
|
String |
getLogLevel()
The log level recorded in the transient log accessible via http.
|
String |
getName()
The name of the agent.
|
String |
getPackageImporterEndpoints()
List of endpoints to which packages are sent (imported).
|
String |
getPassiveQueues()
List of queues that should be disabled.These queues will gather all the packages until they are removed explicitly.
|
String |
getPriorityQueues()
List of priority queues that should used for specific paths.The selector format is {queuePrefix}[|{mainQueueMatcher}]={pathMatcher}, e.g.
|
String |
getQueueProvider()
The queue provider implementation.
|
int |
getRetryAttempts()
The number of times to retry until the retry strategy is applied.
|
String |
getRetryStrategy()
The strategy to apply after a certain number of failed retries.
|
String |
getServiceName()
The name of the service used to access the repository.
|
String |
getStatus()
The distribution agent status, usually one of:
paused
idle
running
blocked
|
String |
getTitle()
The display friendly title of the agent.
|
boolean |
isAsyncDelivery()
Whether or not to use a separate delivery queue to maximize transport throughput when queue has more than 100 items
|
boolean |
isEnabled()
Whether or not to start the distribution agent.
|
boolean |
isQueueProcessingEnabled()
Whether or not the distribution agent should process packages in the queues.
|
public ForwardDistributionAgentMBeanImpl(DistributionAgent agent, Map<String,Object> osgiConfiguration)
public String getName()
ForwardDistributionAgentMBeangetName in interface ForwardDistributionAgentMBeanpublic String getTitle()
ForwardDistributionAgentMBeangetTitle in interface ForwardDistributionAgentMBeanpublic String getDetails()
ForwardDistributionAgentMBeangetDetails in interface ForwardDistributionAgentMBeanpublic boolean isEnabled()
ForwardDistributionAgentMBeanisEnabled in interface ForwardDistributionAgentMBeanpublic String getServiceName()
ForwardDistributionAgentMBeangetServiceName in interface ForwardDistributionAgentMBeanpublic String getLogLevel()
ForwardDistributionAgentMBeangetLogLevel in interface ForwardDistributionAgentMBeanpublic String getAllowedRoots()
ForwardDistributionAgentMBeangetAllowedRoots in interface ForwardDistributionAgentMBeanpublic boolean isQueueProcessingEnabled()
ForwardDistributionAgentMBeanisQueueProcessingEnabled in interface ForwardDistributionAgentMBeanpublic String getPackageImporterEndpoints()
ForwardDistributionAgentMBeangetPackageImporterEndpoints in interface ForwardDistributionAgentMBeanpublic String getPassiveQueues()
ForwardDistributionAgentMBeangetPassiveQueues in interface ForwardDistributionAgentMBeanpublic String getPriorityQueues()
ForwardDistributionAgentMBeangetPriorityQueues in interface ForwardDistributionAgentMBeanpublic String getRetryStrategy()
ForwardDistributionAgentMBeangetRetryStrategy in interface ForwardDistributionAgentMBeanpublic int getRetryAttempts()
ForwardDistributionAgentMBeangetRetryAttempts in interface ForwardDistributionAgentMBeanpublic String getQueueProvider()
ForwardDistributionAgentMBeangetQueueProvider in interface ForwardDistributionAgentMBeanpublic boolean isAsyncDelivery()
ForwardDistributionAgentMBeanisAsyncDelivery in interface ForwardDistributionAgentMBeanpublic String getStatus()
ForwardDistributionAgentMBeangetStatus in interface ForwardDistributionAgentMBeanDistributionAgentStateCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.