Package dev.vality.machinegun.stateproc
Interface AutomatonSrv.AsyncIface
- All Known Implementing Classes:
AutomatonSrv.AsyncClient
- Enclosing class:
- AutomatonSrv
public static interface AutomatonSrv.AsyncIface
-
Method Summary
Modifier and Type Method Description voidcall(MachineDescriptor desc, Value a, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler)voidgetMachine(MachineDescriptor desc, org.apache.thrift.async.AsyncMethodCallback<Machine> resultHandler)voidmodernize(MachineDescriptor desc, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidremove(String ns, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrepair(MachineDescriptor desc, Value a, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler)voidsimpleRepair(String ns, Reference ref, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidstart(String ns, String id, Value a, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
Method Details
-
start
void start(String ns, String id, Value a, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
repair
void repair(MachineDescriptor desc, Value a, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
simpleRepair
void simpleRepair(String ns, Reference ref, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
call
void call(MachineDescriptor desc, Value a, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
getMachine
void getMachine(MachineDescriptor desc, org.apache.thrift.async.AsyncMethodCallback<Machine> resultHandler) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
remove
void remove(String ns, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
modernize
void modernize(MachineDescriptor desc, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-