Class CUstreamBatchMemOpParams.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new CUstreamBatchMemOpParams.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by CUstreamBatchMemOpParams.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • operation

        public int operation()
        Returns the value of the operation field.
      • waitValue_operation

        public int waitValue_operation()
        Returns the value of the waitValue.operation field.
      • waitValue_address

        public long waitValue_address()
        Returns the value of the waitValue.address field.
      • waitValue_value

        public int waitValue_value()
        Returns the value of the waitValue.value field.
      • waitValue_value64

        public long waitValue_value64()
        Returns the value of the waitValue.value64 field.
      • waitValue_flags

        public int waitValue_flags()
        Returns the value of the waitValue.flags field.
      • waitValue_alias

        public long waitValue_alias()
        Returns the value of the waitValue.alias field.
      • writeValue_operation

        public int writeValue_operation()
        Returns the value of the writeValue.operation field.
      • writeValue_address

        public long writeValue_address()
        Returns the value of the writeValue.address field.
      • writeValue_value

        public int writeValue_value()
        Returns the value of the writeValue.value field.
      • writeValue_value64

        public long writeValue_value64()
        Returns the value of the writeValue.value64 field.
      • writeValue_flags

        public int writeValue_flags()
        Returns the value of the writeValue.flags field.
      • writeValue_alias

        public long writeValue_alias()
        Returns the value of the writeValue.alias field.
      • flushRemoteWrites_operation

        public int flushRemoteWrites_operation()
        Returns the value of the flushRemoteWrites.operation field.
      • flushRemoteWrites_flags

        public int flushRemoteWrites_flags()
        Returns the value of the flushRemoteWrites.flags field.
      • pad

        public java.nio.LongBuffer pad()
        Returns a LongBuffer view of the pad field.
      • pad

        public long pad​(int index)
        Returns the value at the specified index of the pad field.
      • waitValue_operation

        public CUstreamBatchMemOpParams.Buffer waitValue_operation​(int value)
        Sets the specified value to the waitValue.operation field.
      • writeValue_operation

        public CUstreamBatchMemOpParams.Buffer writeValue_operation​(int value)
        Sets the specified value to the writeValue.operation field.
      • flushRemoteWrites_operation

        public CUstreamBatchMemOpParams.Buffer flushRemoteWrites_operation​(int value)
        Sets the specified value to the flushRemoteWrites.operation field.
      • flushRemoteWrites_flags

        public CUstreamBatchMemOpParams.Buffer flushRemoteWrites_flags​(int value)
        Sets the specified value to the flushRemoteWrites.flags field.