If ```value``` is being used as an int, it would be nice to define it as an int too.
And I am not completly sure that ```this.numberOfActors.get(className)``` returns an ```AtomicLong``` instead of an ```AtomicInteger```.

Btw, which value represents the variable ```value```?