public final class GroupOperation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupOperation.Type |
| Modifier and Type | Method and Description |
|---|---|
GroupBuckets |
buckets()
Returns group buckets associated with the operation.
|
static GroupOperation |
createAddGroupOperation(GroupId groupId,
GroupDescription.Type groupType,
GroupBuckets buckets)
Creates ADD group operation object.
|
static GroupOperation |
createDeleteGroupOperation(GroupId groupId,
GroupDescription.Type groupType)
Creates DELETE group operation object.
|
static GroupOperation |
createModifyGroupOperation(GroupId groupId,
GroupDescription.Type groupType,
GroupBuckets buckets)
Creates MODIFY group operation object.
|
boolean |
equals(Object obj) |
GroupId |
groupId()
Returns group identifier attribute of the operation.
|
GroupDescription.Type |
groupType()
Returns group type attribute of the operation.
|
int |
hashCode() |
GroupOperation.Type |
opType()
Returns group operation type.
|
public static GroupOperation createAddGroupOperation(GroupId groupId, GroupDescription.Type groupType, GroupBuckets buckets)
groupId - group IdentifiergroupType - type of the groupbuckets - immutable list of group buckets to be part of grouppublic static GroupOperation createModifyGroupOperation(GroupId groupId, GroupDescription.Type groupType, GroupBuckets buckets)
groupId - group IdentifiergroupType - type of the groupbuckets - immutable list of group buckets to be part of grouppublic static GroupOperation createDeleteGroupOperation(GroupId groupId, GroupDescription.Type groupType)
groupId - group IdentifiergroupType - type of the grouppublic GroupOperation.Type opType()
public GroupId groupId()
public GroupDescription.Type groupType()
public GroupBuckets buckets()
Copyright © 2015. All rights reserved.