Observer for worker. The user can subclass and register an observer with the
Giraph framework. The framework will execute methods of the observer at
designated moments of computation on each worker.
It can implement ContextSettable if it needs to access job counters.