Class ZInterStoreCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.ZInterStoreCommand
-
- All Implemented Interfaces:
Command
,Event
,Serializable
public class ZInterStoreCommand extends AbstractCommand
- 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 ZInterStoreCommand()
ZInterStoreCommand(byte[] destination, int numkeys, byte[][] keys, double[] weights, AggregateType aggregateType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateType
getAggregateType()
byte[]
getDestination()
byte[][]
getKeys()
int
getNumkeys()
double[]
getWeights()
void
setAggregateType(AggregateType aggregateType)
void
setDestination(byte[] destination)
void
setKeys(byte[][] keys)
void
setNumkeys(int numkeys)
void
setWeights(double[] weights)
-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
Constructor Detail
-
ZInterStoreCommand
public ZInterStoreCommand()
-
ZInterStoreCommand
public ZInterStoreCommand(byte[] destination, int numkeys, byte[][] keys, double[] weights, AggregateType aggregateType)
-
-
Method Detail
-
getDestination
public byte[] getDestination()
-
setDestination
public void setDestination(byte[] destination)
-
getNumkeys
public int getNumkeys()
-
setNumkeys
public void setNumkeys(int numkeys)
-
getKeys
public byte[][] getKeys()
-
setKeys
public void setKeys(byte[][] keys)
-
getWeights
public double[] getWeights()
-
setWeights
public void setWeights(double[] weights)
-
getAggregateType
public AggregateType getAggregateType()
-
setAggregateType
public void setAggregateType(AggregateType aggregateType)
-
-