java doc for runtimeService
cost analysis example