Class FunctionRestoreCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.FunctionCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.FunctionRestoreCommand
-
- All Implemented Interfaces:
Command,Event,Serializable
@CommandSpec(command="FUNCTION", subCommand="RESTORE") public class FunctionRestoreCommand extends FunctionCommand
- Since:
- 3.6.0
- Author:
- Leon Chen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
Field Summary
-
Fields inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
Constructor Summary
Constructors Constructor Description FunctionRestoreCommand()FunctionRestoreCommand(byte[] serializedValue, boolean replace, boolean flush, boolean append)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getSerializedValue()booleanisAppend()booleanisFlush()booleanisReplace()voidsetAppend(boolean append)voidsetFlush(boolean flush)voidsetReplace(boolean replace)voidsetSerializedValue(byte[] serializedValue)-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
Method Detail
-
getSerializedValue
public byte[] getSerializedValue()
-
setSerializedValue
public void setSerializedValue(byte[] serializedValue)
-
isReplace
public boolean isReplace()
-
setReplace
public void setReplace(boolean replace)
-
isFlush
public boolean isFlush()
-
setFlush
public void setFlush(boolean flush)
-
isAppend
public boolean isAppend()
-
setAppend
public void setAppend(boolean append)
-
-