Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IgniteObjectFactory and MarshallerEx

 

Code Block
languagejava
titleCacheObjectManager
/**
 *
 */
public interface IgniteObjectFactory {public interface IgniteObjectMarshaller extends Marshaller {    
    /**
     * @param input Seekable input.
     * @return Cache object.
     */
    @Nullable public IgniteObject toIgniteObject(SeekableDataInput input);

    /**
     * @param input Seekable input.
     * @return Cache object.
     */
    @Nullable public IgniteObject toIgniteObject(byte[] data);

    /**
     * @param typeName Type name.
     * @return Type ID.
     */
    public abstract int typeId(String typeName);
}
Code Block
languagejava
public interface MarshallerEx extends Marshaller {
    public CacheObjectFactory getCacheObjectFactory();
}
Code Block
languagejava
public interface SeekableDataInput extends DataInput {
    public long position();
 
    public void seek(long pos) throws IOException;
 
    public void ensureOnHeap();
}

...