Class GeoAddCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.GeoAddCommand
-
- All Implemented Interfaces:
Command,Event,Serializable
@CommandSpec(command="GEOADD") public class GeoAddCommand extends GenericKeyCommand
- Since:
- 2.1.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 GeoAddCommand()GeoAddCommand(byte[] key, Geo[] geos)GeoAddCommand(byte[] key, Geo[] geos, ExistType existType, boolean ch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExistTypegetExistType()Geo[]getGeos()booleanisCh()voidsetCh(boolean ch)voidsetExistType(ExistType existType)voidsetGeos(Geo[] geos)-
Methods inherited from class com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
getKey, setKey
-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
Method Detail
-
getGeos
public Geo[] getGeos()
-
setGeos
public void setGeos(Geo[] geos)
-
isCh
public boolean isCh()
- Returns:
- ch
- Since:
- 3.5.2
-
setCh
public void setCh(boolean ch)
- Parameters:
ch- ch- Since:
- 3.5.2
-
getExistType
public ExistType getExistType()
- Returns:
- existType
- Since:
- 3.5.2
-
setExistType
public void setExistType(ExistType existType)
- Parameters:
existType- existType- Since:
- 3.5.2
-
-