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

org.lumongo.server.hazelcast.ReloadIndexSettingsTask Maven / Gradle / Ivy

The newest version!
package org.lumongo.server.hazelcast;

import java.io.Serializable;
import java.util.concurrent.Callable;

public class ReloadIndexSettingsTask implements Callable, Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private final int hazelcastPort;
	
	private final String indexName;
	
	public ReloadIndexSettingsTask(int hazelcastPort, String indexName) {
		this.hazelcastPort = hazelcastPort;
		this.indexName = indexName;
	}
	
	@Override
	public Void call() throws Exception {
		
		HazelcastManager.getHazelcastManager(hazelcastPort).reloadIndexSettings(indexName);
		
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy