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 release
    A 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 a String value to this GlobalSet
      boolean contains​(java.lang.String val)
      Deprecated.
      Whether or not this GlobalSet contains a given String
      boolean remove​(java.lang.String val)
      Deprecated.
      Removes a String value from this GlobalSet
      • Methods inherited from interface java.io.Closeable

        close
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Method Detail

      • add

        boolean add​(java.lang.String val)
             throws AttivioException
        Deprecated.
        Adds a String value to this GlobalSet
        Parameters:
        val - A String value to add to this GlobalSet
        Returns:
        false if val already exists. true if val is successfully added
        Throws:
        AttivioException
      • remove

        boolean remove​(java.lang.String val)
                throws AttivioException
        Deprecated.
        Removes a String value from this GlobalSet
        Parameters:
        val -
        Returns:
        false if val does not exist in this GlobalSet. true if val is successfully removed
        Throws:
        AttivioException
      • contains

        boolean contains​(java.lang.String val)
                  throws AttivioException
        Deprecated.
        Whether or not this GlobalSet contains a given String
        Parameters:
        val -
        Returns:
        false if this GlobalSet does not contain val. true if this GlobalSet does contain val
        Throws:
        AttivioException