Search in sources :

Example 1 with GatewaySenderMBeanBridge

use of org.apache.geode.management.internal.beans.GatewaySenderMBeanBridge in project geode by apache.

the class GatewayMBeanBridgeJUnitTest method init.

public void init() {
    senderStats = new GatewaySenderStats(system, "test");
    sender = Mockito.mock(AbstractGatewaySender.class);
    Mockito.when(sender.getStatistics()).thenReturn(senderStats);
    bridge = new GatewaySenderMBeanBridge(sender);
    bridge.addGatewaySenderStats(senderStats);
}
Also used : GatewaySenderStats(org.apache.geode.internal.cache.wan.GatewaySenderStats) GatewaySenderMBeanBridge(org.apache.geode.management.internal.beans.GatewaySenderMBeanBridge) AbstractGatewaySender(org.apache.geode.internal.cache.wan.AbstractGatewaySender)

Aggregations

AbstractGatewaySender (org.apache.geode.internal.cache.wan.AbstractGatewaySender)1 GatewaySenderStats (org.apache.geode.internal.cache.wan.GatewaySenderStats)1 GatewaySenderMBeanBridge (org.apache.geode.management.internal.beans.GatewaySenderMBeanBridge)1