Class RequestMetadata

    • Constructor Detail

      • RequestMetadata

        public RequestMetadata()
    • Method Detail

      • getExecutionId

        public long getExecutionId()
        Description copied from interface: RequestBean
        Get the ExecutionId for a Request
        Specified by:
        getExecutionId in interface RequestBean
        Returns:
        ExecutionId
      • setExecutionId

        public void setExecutionId​(long id)
      • getSessionId

        public String getSessionId()
        Description copied from interface: RequestBean
        Get the SessionID for a Request
        Specified by:
        getSessionId in interface RequestBean
        Returns:
        String SessionID
      • setSessionId

        public void setSessionId​(String session)
      • getStartTime

        public long getStartTime()
        Description copied from interface: RequestBean
        Get when the processing began for this Request
        Specified by:
        getStartTime in interface RequestBean
        Returns:
        Date processing began
      • setStartTime

        public void setStartTime​(long time)
      • getCommand

        public String getCommand()
        Description copied from interface: RequestBean
        Get the SQL Command sent to the Server for a Request
        Specified by:
        getCommand in interface RequestBean
        Returns:
        SQL Command
      • setCommand

        public void setCommand​(String cmd)
      • sourceRequest

        public boolean sourceRequest()
        Specified by:
        sourceRequest in interface Request
        Returns:
        Returns whether this is a Source Request.
      • setSourceRequest

        public void setSourceRequest​(boolean sourceRequest)
      • getNodeId

        public Integer getNodeId()
        Specified by:
        getNodeId in interface RequestBean
        Returns:
        In the case that this is a source request this represents the node id. Otherwise null
      • setNodeId

        public void setNodeId​(Integer nodeID)
      • getTransactionId

        public String getTransactionId()
        Description copied from interface: RequestBean
        Get the TransactionID of the Request
        Specified by:
        getTransactionId in interface RequestBean
        Returns:
        String of TransactionID if in a transaction
      • setTransactionId

        public void setTransactionId​(String id)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isSourceRequest

        public boolean isSourceRequest()
        Specified by:
        isSourceRequest in interface RequestBean
        Returns:
        Returns whether this is a Source Request.