Package com.attivio.sdk.server.global
Interface GlobalMembership
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
@Deprecated public interface GlobalMembership extends java.io.CloseableDeprecated.This API should no longer be used and is scheduled for removal in a future releaseMembership services that are accessible across a single/multi-node AIE installation. A member of a group will be automatically removed when the adding node dies or is shut down.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidadd(java.lang.String name)Deprecated.Add a member to this membership.voidlisten(MembershipListener listener)Deprecated.Listen for changes to this membership via a user providedMembershipListenerjava.util.List<java.lang.String>listMembers()Deprecated.List all active members of this membership.voidremove(java.lang.String name)Deprecated.Remove a member from this membership.
-
-
-
Method Detail
-
listen
void listen(MembershipListener listener) throws AttivioException
Deprecated.Listen for changes to this membership via a user providedMembershipListener- Parameters:
listener-- Throws:
AttivioException
-
add
void add(java.lang.String name) throws AttivioException
Deprecated.Add a member to this membership.- Parameters:
name- Name of the member to add. Names cannot contain a slash '/'.- Throws:
AttivioException
-
remove
void remove(java.lang.String name) throws AttivioExceptionDeprecated.Remove a member from this membership.- Parameters:
name- Name of the member to remove. Names cannot contain a slash '/'.- Throws:
AttivioException
-
listMembers
java.util.List<java.lang.String> listMembers() throws AttivioExceptionDeprecated.List all active members of this membership.- Returns:
- The names of the members in this membership.
- Throws:
AttivioException
-
-