Examples of JMSConnectionStatsImpl


Examples of org.activemq.management.JMSConnectionStatsImpl

    this.boundedQueueManager = new MemoryBoundedQueueManager(memoryManager);
    this.memoryManager.addCapacityEventListener(this);
    boolean transactional = this instanceof XAConnection;
    factoryStats = factory.getFactoryStats();
    factoryStats.addConnection(this);
    stats = new JMSConnectionStatsImpl(sessions, transactional);
    this.transientConsumedRedeliverCache = new CopyOnWriteArrayList();
    this.tempDestinationMap = new ConcurrentHashMap();
    this.validDestinationsMap = new ConcurrentHashMap();
    factory.onConnectionCreate(this);
  }
View Full Code Here

Examples of org.activemq.management.JMSConnectionStatsImpl

    this.boundedQueueManager = new MemoryBoundedQueueManager(memoryManager);
    this.memoryManager.addCapacityEventListener(this);
    boolean transactional = this instanceof XAConnection;
    factoryStats = factory.getFactoryStats();
    factoryStats.addConnection(this);
    stats = new JMSConnectionStatsImpl(sessions, transactional);
    this.transientConsumedRedeliverCache = new CopyOnWriteArrayList();
    this.tempDestinationMap = new ConcurrentHashMap();
    this.validDestinationsMap = new ConcurrentHashMap();
    factory.onConnectionCreate(this);
  }
View Full Code Here

Examples of org.activemq.management.JMSConnectionStatsImpl

    this.boundedQueueManager = new MemoryBoundedQueueManager(memoryManager);
    this.memoryManager.addCapacityEventListener(this);
    boolean transactional = this instanceof XAConnection;
    factoryStats = factory.getFactoryStats();
    factoryStats.addConnection(this);
    stats = new JMSConnectionStatsImpl(sessions, transactional);
    this.transientConsumedRedeliverCache = new CopyOnWriteArrayList();
    this.tempDestinationMap = new ConcurrentHashMap();
    this.validDestinationsMap = new ConcurrentHashMap();
    factory.onConnectionCreate(this);
  }
View Full Code Here

Examples of org.activemq.management.JMSConnectionStatsImpl

    this.boundedQueueManager = new MemoryBoundedQueueManager(memoryManager);
    this.memoryManager.addCapacityEventListener(this);
    boolean transactional = this instanceof XAConnection;
    factoryStats = factory.getFactoryStats();
    factoryStats.addConnection(this);
    stats = new JMSConnectionStatsImpl(sessions, transactional);
    this.transientConsumedRedeliverCache = new CopyOnWriteArrayList();
    this.tempDestinationMap = new ConcurrentHashMap();
    this.validDestinationsMap = new ConcurrentHashMap();
    factory.onConnectionCreate(this);
  }
View Full Code Here

Examples of org.activemq.management.JMSConnectionStatsImpl

        this.boundedQueueManager = new MemoryBoundedQueueManager(memoryManager);
        this.memoryManager.addCapacityEventListener(this);
        boolean transactional = this instanceof XAConnection;
        factoryStats = factory.getFactoryStats();
        factoryStats.addConnection(this);
        stats = new JMSConnectionStatsImpl(sessions, transactional);
        this.transientConsumedRedeliverCache = new CopyOnWriteArrayList();
        this.tempDestinationMap = new ConcurrentHashMap();
        this.validDestinationsMap = new ConcurrentHashMap();
        factory.onConnectionCreate(this);
    }
View Full Code Here

Examples of org.apache.activemq.management.JMSConnectionStatsImpl

        this.info.setManageable(true);
        this.connectionSessionId = new SessionId(info.getConnectionId(), -1);

        this.transport.setTransportListener(this);

        this.stats = new JMSConnectionStatsImpl(sessions, this instanceof XAConnection);
        this.factoryStats.addConnection(this);
        this.timeCreated = System.currentTimeMillis();
        this.connectionAudit.setCheckForDuplicates(transport.isFaultTolerant());
    }
View Full Code Here

Examples of org.apache.activemq.management.JMSConnectionStatsImpl

        this.info.setFaultTolerant(transport.isFaultTolerant());
        this.connectionSessionId = new SessionId(info.getConnectionId(), -1);

        this.transport.setTransportListener(this);

        this.stats = new JMSConnectionStatsImpl(sessions, this instanceof XAConnection);
        this.factoryStats.addConnection(this);
        this.timeCreated = System.currentTimeMillis();
        this.connectionAudit.setCheckForDuplicates(transport.isFaultTolerant());
        this.scheduler = new Scheduler("ActiveMQConnection["+uniqueId+"] Scheduler");
        this.scheduler.start();
View Full Code Here

Examples of org.apache.activemq.management.JMSConnectionStatsImpl

                transport.getStateTracker().processCommitTransactionOnePhase(info));
    }

    private void assertSessionGone(ActiveMQXAConnection connection1,
            XASession session) {
        JMSConnectionStatsImpl stats = (JMSConnectionStatsImpl)connection1.getStats();
        // should be no dangling sessions maintained by the transaction
        assertEquals("should be no sessions", 0, stats.getSessions().length);
    }
View Full Code Here

Examples of org.apache.activemq.management.JMSConnectionStatsImpl

        this.info.setManageable(true);
        this.connectionSessionId = new SessionId(info.getConnectionId(), -1);

        this.transport.setTransportListener(this);

        this.stats = new JMSConnectionStatsImpl(sessions, this instanceof XAConnection);
        this.factoryStats.addConnection(this);
        this.timeCreated = System.currentTimeMillis();
        this.connectionAudit.setCheckForDuplicates(transport.isFaultTolerant());
    }
View Full Code Here

Examples of org.apache.activemq.management.JMSConnectionStatsImpl

        this.info.setFaultTolerant(transport.isFaultTolerant());
        this.connectionSessionId = new SessionId(info.getConnectionId(), -1);

        this.transport.setTransportListener(this);

        this.stats = new JMSConnectionStatsImpl(sessions, this instanceof XAConnection);
        this.factoryStats.addConnection(this);
        this.timeCreated = System.currentTimeMillis();
        this.connectionAudit.setCheckForDuplicates(transport.isFaultTolerant());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.