我调用在Weblogic MBeanServer上注册的自定义Monitor,但weblogic仅在15秒后给我更新的值。
Weblogic缓存是否调用?
答案 0 :(得分:2)
发现!
我使用以下(spring)annotatioon标记我的MBean:
@ManagedResource(
objectName = "bean:name=obuInterfaceMonitor", description = "obuInterface Monitor", log = true,
logFile = "jmx.log", currencyTimeLimit = 15, persistPolicy = "OnUpdate", persistPeriod = 200, persistLocation = "interfaceMonitor", persistName = "bar"
)