public static final CounterFactory instance ( ) { if ( INSTANCE == null ) throw new IllegalStateException ( String . format ( "%s not initialized" , CounterFactory . class . getSimpleName ( ) ) ) ; return INSTANCE ; }
return the singleton CounterFactory instance .