|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.space4j.Command
org.space4j.command.CreateCollectionCmd<V>
public class CreateCollectionCmd<V>
| Constructor Summary | |
|---|---|
CreateCollectionCmd(java.lang.Object key)
|
|
CreateCollectionCmd(java.lang.Object key,
java.util.Collection<V> coll)
|
|
| Method Summary | |
|---|---|
int |
execute(Space space)
This method accesses the Space and its objects to do any modifications it wants. |
| Methods inherited from class org.space4j.Command |
|---|
executeSQL, getLogNumber, getReplicaId, setLogNumber, setReplicaId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateCollectionCmd(java.lang.Object key)
public CreateCollectionCmd(java.lang.Object key,
java.util.Collection<V> coll)
| Method Detail |
|---|
public int execute(Space space)
throws CommandException
Command
execute in class Commandspace - The Space where the objects are stored.
CommandException - If there was an error executing this command.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||