com.loopfor.zookeeper

ACL

Related Docs: class ACL | package zookeeper

object ACL extends Serializable

Constructs and deconstructs ACL values.

The permissions assigned to an ACL are constructed by performing a bitwise union of individual permission attributes: Read, Write, Create, Delete, Admin. In addition, the All permission encompasses all of these attributes.

Several commonly used ACL values have been predefined for sake of convenience: AnyoneAll, AnyoneRead, CreatorAll.

See also

ACLs

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ACL
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val Admin: Int

    A permission to perform administrative functions.

  5. val All: Int

    A composition of all permissions.

    A composition of all permissions.

    This is equivalent to the bitwise union of the following permissions:

    Read | Write | Create | Delete | Admin
  6. val AnyoneAll: Seq[ACL]

    An ACL in which Anyone is granted All permissions.

  7. val AnyoneRead: Seq[ACL]

    An ACL in which Anyone is granted Read permission only.

  8. val Create: Int

    A permission to create.

  9. val CreatorAll: Seq[ACL]

    An ACL in which the Creator is granted All permissions.

  10. val Delete: Int

    A permission to delete.

  11. val Read: Int

    A permission to read.

  12. val Write: Int

    A permission to write.

  13. def apply(s: String): ACL

    Constructs a new ACL from the input string s.

    Constructs a new ACL from the input string s.

    s

    a string representing the ACL

    returns

    the ACL in s if it conforms to the specific syntax

    Exceptions thrown

    IllegalArgumentException if s does not conform to the proper syntax

    See also

    parse

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def parse(s: String): Try[ACL]

    Parses the ACL in the input string s.

    Parses the ACL in the input string s.

    The syntax of s is "scheme:id=[rwcda*]", where the following apply:

    • the : delimiter may be omitted if id is not required
    • rwcda* may be repeated zero or more times
    s

    a string representing the ACL

    returns

    a Success containing the ACL in s if it conforms to the proper syntax, otherwise a Failure containing the offending exception

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped