THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
public interface CacheObjectTransformerSpi extends IgniteSpi { /** Additional space required to store the transformed data. */ public int OVERHEAD = 2; /** * Transforms the data. * * @param bytes Byte array contains the data. * @param offset Data offset. * @param length Data length. * @return Byte array contains the transformed data started with non-filled area with {@link #OVERHEAD} size. * @throws IgniteCheckedException when transformation is not possible/suitable. */ public byte[] transform(byte[] bytes, int offset, int length) throws IgniteCheckedException; /** * Restores the data. * * @param bytes Byte Byte array ending withcontains the transformed data. * @param offset Data offset. * @param length Data length. * @return Byte array contains the restored data. */ public byte[] restore(byte[] bytes, int offset, int length); } |
...