Java monitoring and flow tracking utilities