public interface FabricGroupManager
Title: Service Event Fabric Core
Description: Defines a manager that manages instances of the Fabric Group.
MAX_GROUPS_NUMBER (32767)
groups in the Fabric.
Copyright: Copyright (c) 2013
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static int |
MAX_GROUPS_NUMBER |
Modifier and Type | Method and Description |
---|---|
FabricGroup |
createGroup(java.lang.String name,
java.lang.String description)
Creates a new group with the specified parameters.
|
void |
dropGroup(java.lang.String name)
Drops the specified group.
|
boolean |
existsGroup(java.lang.String name)
Checks if a group with the specified name exists.
|
java.util.List |
getGroups()
Return a list of all groups in the Fabric.
|
java.util.List |
listGroups()
Return a list of names of all groups in the Fabric.
|
FabricGroup |
lookupGroup(java.lang.String name)
Finds and returns a group with the specified name.
|
static final int MAX_GROUPS_NUMBER
FabricGroup createGroup(java.lang.String name, java.lang.String description) throws FabricGroupManagerException
name
- the name of the group.description
- the description of the group.FabricGroupManagerException
- if the group with the specified name already exists or
if too many groups exist in the Fabric or
if some error occurs in the Exchange.void dropGroup(java.lang.String name) throws FabricGroupManagerException
name
- the name of the group to be dropped.FabricGroupManagerException
- if the group has members or
if some error occurs in the Exchange.FabricGroup lookupGroup(java.lang.String name)
name
- the name of the group which is to be found.null
if the specified group does not exist.boolean existsGroup(java.lang.String name)
name
- the name of the group to be checked.true
if the specified group exists, false
otherwise.java.util.List getGroups()
java.util.List listGroups()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.