Merge pull request #123 from apache/GetCapacityDirect

Get capacity direct