Class AbstractRequest

    • Field Detail

      • handle

        public byte[] handle
      • isAdminRequest

        public boolean isAdminRequest
      • requiresConnection

        public boolean requiresConnection
      • multithread

        public boolean multithread
      • connectionLock

        public java.util.concurrent.locks.ReentrantLock connectionLock
      • completed

        public java.util.concurrent.atomic.AtomicBoolean completed
      • socketRef

        public java.util.concurrent.atomic.AtomicReference<> socketRef
      • streaming

        public boolean streaming
    • Constructor Detail

      • AbstractRequest

        public AbstractRequest​(byte[] handle,
                               int opCode,
                               AuthenticationInfo authInfo)
    • Method Detail

      • getNamespace

        public NamespaceInfo getNamespace()
        Returns the information for the most specific namespace that was encountered when performing this resolution. Higher level namespaces can be accessed using the getParentNamespace() method of NamespaceInfo.
      • setNamespace

        public void setNamespace​(NamespaceInfo namespace)
        Set the most specific namespace containing the identifier being resolved. This will set the parent of the given namespace to the current namespace.
      • setNamespaceExactly

        public void setNamespaceExactly​(NamespaceInfo namespace)
        Set the most exact namespace containing the identifier being resolved. The current namespace is discarded and the entire hierarchy of the given namespace is retained.
      • clearBuffers

        public void clearBuffers()
        Override the clearing of buffers to also clear the namespace information
        clearBuffers in class AbstractMessage