public final class SyncDistributionAgentMBeanImpl extends Object implements SyncDistributionAgentMBean
| Constructor and Description |
|---|
SyncDistributionAgentMBeanImpl(DistributionAgent agent,
Map<String,Object> osgiConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
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 |
getPackageExporterEndpoints()
List of endpoints from which packages are received (exported)
|
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.
|
int |
getPullItems()
Number of subsequent pull requests to make.
|
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 |
isEnabled()
Whether or not to start the distribution agent.
|
boolean |
isQueueProcessingEnabled()
Whether or not the distribution agent should process packages in the queues.
|
public SyncDistributionAgentMBeanImpl(DistributionAgent agent, Map<String,Object> osgiConfiguration)
public String getName()
SyncDistributionAgentMBeangetName in interface SyncDistributionAgentMBeanpublic String getTitle()
SyncDistributionAgentMBeangetTitle in interface SyncDistributionAgentMBeanpublic String getDetails()
SyncDistributionAgentMBeangetDetails in interface SyncDistributionAgentMBeanpublic boolean isEnabled()
SyncDistributionAgentMBeanisEnabled in interface SyncDistributionAgentMBeanpublic String getServiceName()
SyncDistributionAgentMBeangetServiceName in interface SyncDistributionAgentMBeanpublic String getLogLevel()
SyncDistributionAgentMBeangetLogLevel in interface SyncDistributionAgentMBeanpublic boolean isQueueProcessingEnabled()
SyncDistributionAgentMBeanisQueueProcessingEnabled in interface SyncDistributionAgentMBeanpublic String getPassiveQueues()
SyncDistributionAgentMBeangetPassiveQueues in interface SyncDistributionAgentMBeanpublic String getPackageExporterEndpoints()
SyncDistributionAgentMBeangetPackageExporterEndpoints in interface SyncDistributionAgentMBeanpublic String getPackageImporterEndpoints()
SyncDistributionAgentMBeangetPackageImporterEndpoints in interface SyncDistributionAgentMBeanpublic String getRetryStrategy()
SyncDistributionAgentMBeangetRetryStrategy in interface SyncDistributionAgentMBeanpublic int getRetryAttempts()
SyncDistributionAgentMBeangetRetryAttempts in interface SyncDistributionAgentMBeanpublic int getPullItems()
SyncDistributionAgentMBeangetPullItems in interface SyncDistributionAgentMBeanpublic String getStatus()
SyncDistributionAgentMBeangetStatus in interface SyncDistributionAgentMBeanDistributionAgentStateCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.