Package dev.vality.damsel.accounter
Interface AccounterSrv.AsyncIface
- All Known Implementing Classes:
AccounterSrv.AsyncClient
- Enclosing class:
- AccounterSrv
public static interface AccounterSrv.AsyncIface
-
Method Summary
Modifier and TypeMethodDescriptionvoidcommitPlan(PostingPlan plan, org.apache.thrift.async.AsyncMethodCallback<PostingPlanLog> resultHandler) voidcreateAccount(AccountPrototype prototype, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) voidgetAccountBalance(long id, String to_time, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) voidgetAccountBalanceDiff(long id, String from_time, String to_time, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) voidgetAccountByID(long id, org.apache.thrift.async.AsyncMethodCallback<Account> resultHandler) voidgetPlan(String id, org.apache.thrift.async.AsyncMethodCallback<PostingPlan> resultHandler) voidhold(PostingPlanChange plan_change, org.apache.thrift.async.AsyncMethodCallback<PostingPlanLog> resultHandler) voidrollbackPlan(PostingPlan plan, org.apache.thrift.async.AsyncMethodCallback<PostingPlanLog> resultHandler)
-
Method Details
-
hold
void hold(PostingPlanChange plan_change, org.apache.thrift.async.AsyncMethodCallback<PostingPlanLog> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
commitPlan
void commitPlan(PostingPlan plan, org.apache.thrift.async.AsyncMethodCallback<PostingPlanLog> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
rollbackPlan
void rollbackPlan(PostingPlan plan, org.apache.thrift.async.AsyncMethodCallback<PostingPlanLog> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getPlan
void getPlan(String id, org.apache.thrift.async.AsyncMethodCallback<PostingPlan> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getAccountByID
void getAccountByID(long id, org.apache.thrift.async.AsyncMethodCallback<Account> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
createAccount
void createAccount(AccountPrototype prototype, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getAccountBalance
void getAccountBalance(long id, String to_time, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getAccountBalanceDiff
void getAccountBalanceDiff(long id, String from_time, String to_time, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-