public static synchronized ExecutionStatistics get()
    {
        Thread currentThread = Thread.currentThread();
        if (stats.get(currentThread) == null)
        {
            stats.put(currentThread, new ExecutionStatistics());
        }
        return stats.get(currentThread);
    }
public static synchronized ExecutionStatistics get ( ) { Thread currentThread = Thread . currentThread ( ) ; if ( stats . get ( currentThread ) == null ) { stats . put ( currentThread , new ExecutionStatistics ( ) ) ; } return stats . get ( currentThread ) ; }
Gets the instance associated with the current thread.