com.bagri.server.hazelcast.impl.CompressingCursorImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bagri-server-hazelcast Show documentation
Show all versions of bagri-server-hazelcast Show documentation
Bagri DB Cache: Hazelcast implementation
The newest version!
package com.bagri.server.hazelcast.impl;
import java.util.Collection;
import com.bagri.core.api.SchemaRepository;
import com.hazelcast.instance.HazelcastInstanceProxy;
import com.hazelcast.internal.serialization.InternalSerializationService;
public class CompressingCursorImpl extends com.bagri.client.hazelcast.impl.CompressingCursorImpl {
public CompressingCursorImpl() {
super();
}
public CompressingCursorImpl(SchemaRepository repo, int size) {
super(repo, size);
}
public CompressingCursorImpl(SchemaRepository repo, Collection results) {
super(repo, results);
}
@Override
protected InternalSerializationService getSerializationService() {
HazelcastInstanceProxy proxy = (HazelcastInstanceProxy) ((SchemaRepositoryImpl) repo).getHzInstance();
return (InternalSerializationService) proxy.getSerializationService();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy