All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bagri.server.hazelcast.impl.CompressingCursorImpl Maven / Gradle / Ivy

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