Interface CacheObjectTransformerProcessor

  • All Superinterfaces:
    GridComponent, GridProcessor

    public interface CacheObjectTransformerProcessor
    extends GridProcessor
    Provides cache object's bytes transformation (eg. encryption, compression, etc).
    • Method Detail

      • transform

        @Nullable
        @Nullable ByteBuffer transform​(ByteBuffer original)
        Transforms the data.
        Parameters:
        original - Original data.
        Returns:
        Transformed data (started with GridBinaryMarshaller.TRANSFORMED when restorable) or null when transformation is not possible/suitable.
      • restore

        ByteBuffer restore​(ByteBuffer transformed)
        Restores the data.
        Parameters:
        transformed - Transformed data.
        Returns:
        Restored data.