Package com.attivio.sdk.server.global
Interface GlobalSet
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable,java.lang.Iterable<java.lang.String>
@Deprecated public interface GlobalSet extends java.io.Closeable, java.lang.Iterable<java.lang.String>Deprecated.This API should no longer be used and is scheduled for removal in a future releaseA GlobalSet implemented using an underlying GlobalVariable and BreakableLock. Members of the set cannot contain commas (commas are used to serialize the set into the GlobalVariable). The listener is used for notifications of changes to the set (including changes made by a local caller).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanadd(java.lang.String val)Deprecated.Adds aStringvalue to thisGlobalSetbooleancontains(java.lang.String val)Deprecated.Whether or not thisGlobalSetcontains a givenStringbooleanremove(java.lang.String val)Deprecated.Removes aStringvalue from thisGlobalSet
-
-
-
Method Detail
-
add
boolean add(java.lang.String val) throws AttivioExceptionDeprecated.Adds aStringvalue to thisGlobalSet- Parameters:
val- AStringvalue to add to thisGlobalSet- Returns:
- false if
valalready exists. true ifvalis successfully added - Throws:
AttivioException
-
remove
boolean remove(java.lang.String val) throws AttivioExceptionDeprecated.Removes aStringvalue from thisGlobalSet- Parameters:
val-- Returns:
- false if
valdoes not exist in thisGlobalSet. true ifvalis successfully removed - Throws:
AttivioException
-
contains
boolean contains(java.lang.String val) throws AttivioExceptionDeprecated.Whether or not thisGlobalSetcontains a givenString- Parameters:
val-- Returns:
- false if this
GlobalSetdoes not containval. true if thisGlobalSetdoes containval - Throws:
AttivioException
-
-