• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ManagedAttribute类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java C02PacketUseEntity类代码示例发布时间:2022-05-23
下一篇:
Java PluginProperty类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap