Interface VariableState

All Known Subinterfaces:
MutableVariableState
All Known Implementing Classes:
DbVariableState

public interface VariableState
  • Field Details

    • NO_PARENT

      static final long NO_PARENT
      The value of the parent scope key for scope with no parents.
      See Also:
  • Method Details

    • getVariableLocal

      org.agrona.DirectBuffer getVariableLocal(long scopeKey, org.agrona.DirectBuffer name)
    • getVariable

      org.agrona.DirectBuffer getVariable(long scopeKey, org.agrona.DirectBuffer name)
    • getVariable

      org.agrona.DirectBuffer getVariable(long scopeKey, org.agrona.DirectBuffer name, int nameOffset, int nameLength)
    • getVariablesAsDocument

      org.agrona.DirectBuffer getVariablesAsDocument(long scopeKey)
    • getVariablesAsDocument

      org.agrona.DirectBuffer getVariablesAsDocument(long scopeKey, Collection<org.agrona.DirectBuffer> names)
    • getVariablesLocalAsDocument

      org.agrona.DirectBuffer getVariablesLocalAsDocument(long scopeKey)
    • isEmpty

      boolean isEmpty()
    • getVariableInstanceLocal

      VariableInstance getVariableInstanceLocal(long scopeKey, org.agrona.DirectBuffer name)
    • getParentScopeKey

      long getParentScopeKey(long childScopeKey)
      Returns:
      returns the parent scope key of the given childScopeKey, or NO_PARENT