Package GenericDBMS

Examples of GenericDBMS.TransactionMgrStats


        this.addInstrument(dataSourcesCount);

    }
    @Override
    public void updateInstrument(Instrument inst) {
        TransactionMgrStats stats = TransactionMgr.getStatistics();

        beginCount.clearValue();
        beginCount.increment(stats.getBeginCount());

        commitCount.clearValue();
        commitCount.increment(stats.getCommitCount());

        rollbackCount.clearValue();
        rollbackCount.increment(stats.getRollbackCount());

        activeCount.clearValue();
        activeCount.increment(stats.getActiveCount());

        dataSourcesCount.clearValue();
        dataSourcesCount.increment(stats.getDataSourcesManaged());

        super.updateInstrument(inst);
    }
View Full Code Here


        this.addInstrument(dataSourcesCount);

    }
    @Override
    public void updateInstrument(Instrument inst) {
        TransactionMgrStats stats = TransactionMgr.getStatistics();

        beginCount.clearValue();
        beginCount.increment(stats.getBeginCount());

        commitCount.clearValue();
        commitCount.increment(stats.getCommitCount());

        rollbackCount.clearValue();
        rollbackCount.increment(stats.getRollbackCount());

        activeCount.clearValue();
        activeCount.increment(stats.getActiveCount());

        dataSourcesCount.clearValue();
        dataSourcesCount.increment(stats.getDataSourcesManaged());

        super.updateInstrument(inst);
    }
View Full Code Here

TOP

Related Classes of GenericDBMS.TransactionMgrStats

Copyright © 2018 www.massapicom. 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.