本文整理汇总了Java中org.apache.camel.api.management.ManagedAttribute类的典型用法代码示例。如果您正苦于以下问题:Java ManagedAttribute类的具体用法?Java ManagedAttribute怎么用?Java ManagedAttribute使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ManagedAttribute类属于org.apache.camel.api.management包,在下文中一共展示了ManagedAttribute类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getHystrixTotalRequests
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public long getHystrixTotalRequests() {
HystrixCommandMetrics metrics = HystrixCommandMetrics.getInstance(commandKey);
if (metrics != null) {
return metrics.getHealthCounts().getTotalRequests();
}
return 0;
}
开发者ID:HydAu,项目名称:Camel,代码行数:9,代码来源:HystrixProcessor.java
示例2: getReplyToType
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public String getReplyToType() {
if (configuration.getReplyToType() != null) {
return configuration.getReplyToType().name();
} else {
return null;
}
}
开发者ID:HydAu,项目名称:Camel,代码行数:9,代码来源:JmsEndpoint.java
示例3: getHystrixExecutionTimeMean
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public int getHystrixExecutionTimeMean() {
HystrixCommandMetrics metrics = HystrixCommandMetrics.getInstance(commandKey);
if (metrics != null) {
return metrics.getExecutionTimeMean();
}
return 0;
}
开发者ID:HydAu,项目名称:Camel,代码行数:9,代码来源:HystrixProcessor.java
示例4: getDelegateEndpointUri
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "Delegate Endpoint URI", mask = true)
public String getDelegateEndpointUri() {
return endpoint.getEndpointUri();
}
开发者ID:syndesisio,项目名称:syndesis,代码行数:5,代码来源:ComponentProxyEndpoint.java
示例5: getReplyToOverride
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public String getReplyToOverride() {
return getConfiguration().getReplyToOverride();
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:JmsEndpoint.java
示例6: getLogLevel
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "Logging Level")
String getLogLevel();
开发者ID:HydAu,项目名称:Camel,代码行数:3,代码来源:ManagedTracerMBean.java
示例7: setLogName
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "Logging Name")
void setLogName(String logName);
开发者ID:HydAu,项目名称:Camel,代码行数:3,代码来源:ManagedTracerMBean.java
示例8: getApiKey
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
/**
* @return the API key for the ExLibris ALMA environment.
*/
@ManagedAttribute(description = "API key to use for authentication with ExLibris ALMA")
public String getApiKey() {
return this.apiKey;
}
开发者ID:KTH,项目名称:camel-alma,代码行数:8,代码来源:AlmaEndpoint.java
示例9: getName
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "Queue name")
public String getName() {
return name;
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:DisruptorEndpoint.java
示例10: setOperation
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
/**
* Set the API operation to use for this endpoint.
* @param operation the ALMA api operation to use.
*/
@ManagedAttribute(description = "API operation to use with this ExLibris ALMA endpoint")
public void setOperation(String operation) {
this.operation = operation;
}
开发者ID:KTH,项目名称:camel-alma,代码行数:10,代码来源:AlmaEndpoint.java
示例11: getCount
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public Integer getCount() {
return getProperties().getCount();
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:TwitterEndpointPolling.java
示例12: getWaitStrategy
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "Defines the strategy used by consumer threads to wait on new exchanges to be published")
public DisruptorWaitStrategy getWaitStrategy() {
return waitStrategy;
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:DisruptorEndpoint.java
示例13: isAcceptMessagesWhileStopping
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public boolean isAcceptMessagesWhileStopping() {
return getConfiguration().isAcceptMessagesWhileStopping();
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:JmsEndpoint.java
示例14: getRetriesExhaustedLogLevel
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "RedeliveryPolicy for logging level when retries exhausted")
String getRetriesExhaustedLogLevel();
开发者ID:HydAu,项目名称:Camel,代码行数:3,代码来源:ManagedErrorHandlerMBean.java
示例15: isAggregateOnException
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "Whether to aggregate when there was an exception thrown during calling the resource endpoint")
Boolean isAggregateOnException();
开发者ID:HydAu,项目名称:Camel,代码行数:3,代码来源:ManagedPollEnricherMBean.java
示例16: setRecoveryInterval
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public void setRecoveryInterval(long recoveryInterval) {
getConfiguration().setRecoveryInterval(recoveryInterval);
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:JmsEndpoint.java
示例17: isSupportSuspension
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "Whether this service supports suspension")
boolean isSupportSuspension();
开发者ID:HydAu,项目名称:Camel,代码行数:3,代码来源:ManagedServiceMBean.java
示例18: isEventNotifierEnabled
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "EventNotifier enabled")
Boolean isEventNotifierEnabled();
开发者ID:HydAu,项目名称:Camel,代码行数:3,代码来源:ManagedProducerCacheMBean.java
示例19: getSourceId
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute(description = "ID of source for creating Thread Pool")
String getSourceId();
开发者ID:HydAu,项目名称:Camel,代码行数:3,代码来源:ManagedThreadPoolMBean.java
示例20: getSinceId
import org.apache.camel.api.management.ManagedAttribute; //导入依赖的package包/类
@ManagedAttribute
public long getSinceId() {
return getProperties().getSinceId();
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:TwitterEndpointPolling.java
注:本文中的org.apache.camel.api.management.ManagedAttribute类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论