a-foundation/src/main/java/com/ajjpj/afoundation/concurrent/WorkerThread.java
AWorkerThreadStatistics getStatistics() {
        return new AWorkerThreadStatistics (getState (), getId (),
                stat_numTasksExecuted, stat_numSharedTasksExecuted, stat_numSteals, stat_numExceptions, stat_numParks, stat_numFalseAlarmUnparks, stat_numSharedQueueSwitches, stat_numLocalSubmits, localQueue.approximateSize ());
    }
AWorkerThreadStatistics getStatistics() {
        return new AWorkerThreadStatistics (getState (), getId (),
                stat_numTasksExecuted, stat_numSharedTasksExecuted, stat_numSteals, stat_numExceptions, stat_numParks, stat_numFalseAlarmUnparks, stat_numSharedQueueSwitches, stat_numLocalSubmits, localQueue.approximateSize ());
    }
This method returns an approximation of this thread's execution statistics for the entire period since the thread was started. Writes are done without memory barriers
to minimize the performance impact of statistics gathering, so some or all returned data may be arbitrarily stale, and some fields may be far staler than others. For
long-running pools however even approximate data may provide useful insights. Your mileage may vary however, you have been warned ;-)