Class FunctionLoadCommand
- 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.FunctionLoadCommand
-
- All Implemented Interfaces:
Command,Event,Serializable
@CommandSpec(command="FUNCTION", subCommand="LOAD") public class FunctionLoadCommand 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 FunctionLoadCommand()FunctionLoadCommand(byte[] engineName, byte[] libraryName, boolean replace, byte[] description, byte[] functionCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]getDescription()Deprecated.since redis-7.0byte[]getEngineName()Deprecated.since redis-7.0byte[]getFunctionCode()byte[]getLibraryName()Deprecated.since redis-7.0booleanisReplace()voidsetDescription(byte[] description)Deprecated.since redis-7.0voidsetEngineName(byte[] engineName)Deprecated.since redis-7.0voidsetFunctionCode(byte[] functionCode)voidsetLibraryName(byte[] libraryName)Deprecated.since redis-7.0voidsetReplace(boolean replace)-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
Method Detail
-
getEngineName
@Deprecated public byte[] getEngineName()
Deprecated.since redis-7.0- Returns:
- engine name
-
setEngineName
@Deprecated public void setEngineName(byte[] engineName)
Deprecated.since redis-7.0- Parameters:
engineName- engine name
-
getLibraryName
@Deprecated public byte[] getLibraryName()
Deprecated.since redis-7.0- Returns:
- library name
-
setLibraryName
@Deprecated public void setLibraryName(byte[] libraryName)
Deprecated.since redis-7.0- Parameters:
libraryName- library name
-
isReplace
public boolean isReplace()
-
setReplace
public void setReplace(boolean replace)
-
getDescription
@Deprecated public byte[] getDescription()
Deprecated.since redis-7.0- Returns:
- description
-
setDescription
@Deprecated public void setDescription(byte[] description)
Deprecated.since redis-7.0- Parameters:
description- description
-
getFunctionCode
public byte[] getFunctionCode()
-
setFunctionCode
public void setFunctionCode(byte[] functionCode)
-
-