There's literally no documentation on using ServerTask. They're very powerful and we should promote them more since they can act as a stop gap solution for any missing features in HR client.
I'll add documentation for ServerTasks once Infinispan can execute ServerTasks fine, even if they're POJOs.