Package com.sun.slamd.stat

Examples of com.sun.slamd.stat.IncrementalTracker


    public StatTracker[] getStatTrackerStubs( String clientID, String threadID, int collectionInterval )
    {
        return new StatTracker[]
            {
                new IncrementalTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_ATTEMPTS, collectionInterval ),
                new IncrementalTracker( clientID, threadID, STAT_TRACKER_SUCCESSFUL_AUTHENTICATIONS, collectionInterval ),
                new IncrementalTracker( clientID, threadID, STAT_TRACKER_FAILED_AUTHENTICATIONS, collectionInterval ),
                new TimeTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_TIME, collectionInterval ) };
    }
View Full Code Here


            bindConstraints = bindConnection.getConstraints();
            bindConstraints.setTimeLimit( 1000 * timeLimit );
        }
   
        // Create the stat trackers.
        attemptCounter = new IncrementalTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_ATTEMPTS,
            collectionInterval );
        successCounter = new IncrementalTracker( clientID, threadID, STAT_TRACKER_SUCCESSFUL_AUTHENTICATIONS,
            collectionInterval );

        failureCounter = new IncrementalTracker( clientID, threadID, STAT_TRACKER_FAILED_AUTHENTICATIONS,
            collectionInterval );
        authTimer = new TimeTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_TIME, collectionInterval );

        // Enable real-time reporting of the data for these stat trackers.
        RealTimeStatReporter statReporter = getStatReporter();
View Full Code Here

    public StatTracker[] getStatTrackerStubs( String clientID, String threadID, int collectionInterval )
    {
        return new StatTracker[]
            {
                new IncrementalTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_ATTEMPTS, collectionInterval ),
                new IncrementalTracker( clientID, threadID, STAT_TRACKER_SUCCESSFUL_AUTHENTICATIONS, collectionInterval ),
                new IncrementalTracker( clientID, threadID, STAT_TRACKER_FAILED_AUTHENTICATIONS, collectionInterval ),
                new TimeTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_TIME, collectionInterval ) };
    }
View Full Code Here

            bindConstraints = bindConnection.getConstraints();
            bindConstraints.setTimeLimit( 1000 * timeLimit );
        }
   
        // Create the stat trackers.
        attemptCounter = new IncrementalTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_ATTEMPTS,
            collectionInterval );
        successCounter = new IncrementalTracker( clientID, threadID, STAT_TRACKER_SUCCESSFUL_AUTHENTICATIONS,
            collectionInterval );

        failureCounter = new IncrementalTracker( clientID, threadID, STAT_TRACKER_FAILED_AUTHENTICATIONS,
            collectionInterval );
        authTimer = new TimeTracker( clientID, threadID, STAT_TRACKER_AUTHENTICATION_TIME, collectionInterval );

        // Enable real-time reporting of the data for these stat trackers.
        RealTimeStatReporter statReporter = getStatReporter();
View Full Code Here

    }


    public StatTracker[] getStatTrackerStubs( String clientId, String threadId, int interval )
    {
        return new StatTracker[] { new IncrementalTracker( clientId, threadId, "test tracker", interval ) };
    }
View Full Code Here

   
    public void initializeThread( String clientId, String threadId, int interval, ParameterList params )
        throws UnableToRunException
    {
        super.logMessage( "initializeThread() called" );
        incremental = new IncrementalTracker( clientId, threadId, "test tracker", interval );
    }
View Full Code Here

TOP

Related Classes of com.sun.slamd.stat.IncrementalTracker

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.