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()
SyncDistributionAgentMBean
getName
in interface SyncDistributionAgentMBean
public String getTitle()
SyncDistributionAgentMBean
getTitle
in interface SyncDistributionAgentMBean
public String getDetails()
SyncDistributionAgentMBean
getDetails
in interface SyncDistributionAgentMBean
public boolean isEnabled()
SyncDistributionAgentMBean
isEnabled
in interface SyncDistributionAgentMBean
public String getServiceName()
SyncDistributionAgentMBean
getServiceName
in interface SyncDistributionAgentMBean
public String getLogLevel()
SyncDistributionAgentMBean
getLogLevel
in interface SyncDistributionAgentMBean
public boolean isQueueProcessingEnabled()
SyncDistributionAgentMBean
isQueueProcessingEnabled
in interface SyncDistributionAgentMBean
public String getPassiveQueues()
SyncDistributionAgentMBean
getPassiveQueues
in interface SyncDistributionAgentMBean
public String getPackageExporterEndpoints()
SyncDistributionAgentMBean
getPackageExporterEndpoints
in interface SyncDistributionAgentMBean
public String getPackageImporterEndpoints()
SyncDistributionAgentMBean
getPackageImporterEndpoints
in interface SyncDistributionAgentMBean
public String getRetryStrategy()
SyncDistributionAgentMBean
getRetryStrategy
in interface SyncDistributionAgentMBean
public int getRetryAttempts()
SyncDistributionAgentMBean
getRetryAttempts
in interface SyncDistributionAgentMBean
public int getPullItems()
SyncDistributionAgentMBean
getPullItems
in interface SyncDistributionAgentMBean
public String getStatus()
SyncDistributionAgentMBean
getStatus
in interface SyncDistributionAgentMBean
DistributionAgentState
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.