@ThriftMethod public void deleteCheckpoint(String application, String environment, int shard);
@ThriftMethod public String getCheckpoint(String application, String environment, int shard);
/** * Call this when you want to log an error line from any mapper to command * line * * @param logLine Line to log */ @ThriftMethod void logError(String logLine);
/** * Workers should call this method to update their progress * * @param workerProgress Progress of the worker */ @ThriftMethod void updateProgress(WorkerProgress workerProgress); }
@ThriftMethod public void Log(List<String> messages) throws TException { } }
@ThriftMethod(value = "TaoFBTypeGet", exception = { @ThriftException(type=RocksException.class, id=1) }) TaoFBTypeGetResult TaoFBTypeGet( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid ) throws RocksException, org.apache.thrift.TException;
@Override @ThriftMethod public GenericStruct<String> echo(GenericStruct<String> genericObject) { return genericObject; } }
@ThriftMethod(value = "TaoFBObjectGet", exception = { @ThriftException(type=RocksException.class, id=1) }) TaoFBObjectGetResult TaoFBObjectGet( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype ) throws RocksException, org.apache.thrift.TException;
@ThriftMethod(value = "TaoFBObjectGet", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<TaoFBObjectGetResult> TaoFBObjectGet( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype );
@ThriftMethod public void extraStruct() { initializeLastParamValues(); }
@ThriftMethod(value = "TaoFBObjectDel", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<Void> TaoFBObjectDel( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=4, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions );
@ThriftMethod(value = "TaoFBObjectDel", exception = { @ThriftException(type=RocksException.class, id=1) }) void TaoFBObjectDel( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=4, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions ) throws RocksException, org.apache.thrift.TException;
@ThriftMethod public void extraIncomingParameter( @ThriftField(value = 1) int integerParam) { initializeLastParamValues(); this.lastIntegerParam = Optional.of(integerParam); }
@ThriftMethod(value = "TaoFBTypeDel", exception = { @ThriftException(type=RocksException.class, id=1) }) RetCode TaoFBTypeDel( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="flags", requiredness=Requiredness.NONE) final int flags, @ThriftField(value=4, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=5, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions ) throws RocksException, org.apache.thrift.TException;
@ThriftMethod(value = "TaoFBTypeCreate", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<TaoFBTypeCreateResult> TaoFBTypeCreate( @ThriftField(value=1, name="dbid", requiredness=Requiredness.NONE) final int dbid, @ThriftField(value=2, name="ctime", requiredness=Requiredness.NONE) final long ctime, @ThriftField(value=3, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=4, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=5, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions );
@ThriftMethod(value = "TaoFBTypeDel", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<RetCode> TaoFBTypeDel( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="flags", requiredness=Requiredness.NONE) final int flags, @ThriftField(value=4, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=5, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions );
@ThriftMethod(value = "TaoFBTypeResurrect", exception = { @ThriftException(type=RocksException.class, id=1) }) RetCode TaoFBTypeResurrect( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="deletion_flags", requiredness=Requiredness.NONE) final int deletionFlags, @ThriftField(value=4, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=5, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions ) throws RocksException, org.apache.thrift.TException;
@ThriftMethod public void extraAndReorderedParameters( @ThriftField(value = 3) boolean booleanParam, @ThriftField(value = 2) String stringParam) { initializeLastParamValues(); this.lastBooleanParam = Optional.of(booleanParam); this.lastStringParam = Optional.fromNullable(stringParam); }
@ThriftMethod(value = "TaoFBTypeResurrect", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<RetCode> TaoFBTypeResurrect( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="deletion_flags", requiredness=Requiredness.NONE) final int deletionFlags, @ThriftField(value=4, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=5, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions );
@ThriftMethod void explicitParameterOrdering( @ThriftField(value = 30) String stringParam, @ThriftField(value = 10) int integerParam, @ThriftField(value = 20) boolean booleanParam, @ThriftField(value = 40) byte dummy) throws TException;