Class AttributeScope

    • Method Detail

      • getId

        public long getId()
        Returns the unique id
        Returns:
        the unique id
      • scope

        public static AttributeScope scope​(long id)
        Intended as a unit-testing hook; use unique() instead.
        Parameters:
        id - the unique value for this scope
        Returns:
        a new attribute scope.
      • unique

        public static AttributeScope unique()
        Returns the next unique attribute scope. The that attribute scopes are unique within a client which makes them unique within a DistributedCallableContext on a particular virtual node.
        Returns:
        a unique-per-client scope
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object