Class SharedData

    • Constructor Detail

      • SharedData

        public SharedData​(byte[] data,
                          int cas)
        Constructs a new SharedData instance.
        Parameters:
        data - The raw byte data retrieved from the shared data store. This might be null if the key was found but had no associated value, depending on the SharedDataHandler implementation.
        cas - The Compare-And-Swap (version) value associated with this data. A value of 0 typically indicates the key did not exist or CAS is not supported/applicable.
    • Method Detail

      • data

        public byte[] data()
        Gets the raw data bytes.
        Returns:
        The byte array representing the shared data's value. May be null.