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 boolean
add(java.lang.String val)
Deprecated.Adds aString
value to thisGlobalSet
boolean
contains(java.lang.String val)
Deprecated.Whether or not thisGlobalSet
contains a givenString
boolean
remove(java.lang.String val)
Deprecated.Removes aString
value from thisGlobalSet
-
-
-
Method Detail
-
add
boolean add(java.lang.String val) throws AttivioException
Deprecated.Adds aString
value to thisGlobalSet
- Parameters:
val
- AString
value to add to thisGlobalSet
- Returns:
- false if
val
already exists. true ifval
is successfully added - Throws:
AttivioException
-
remove
boolean remove(java.lang.String val) throws AttivioException
Deprecated.Removes aString
value from thisGlobalSet
- Parameters:
val
-- Returns:
- false if
val
does not exist in thisGlobalSet
. true ifval
is successfully removed - Throws:
AttivioException
-
contains
boolean contains(java.lang.String val) throws AttivioException
Deprecated.Whether or not thisGlobalSet
contains a givenString
- Parameters:
val
-- Returns:
- false if this
GlobalSet
does not containval
. true if thisGlobalSet
does containval
- Throws:
AttivioException
-
-