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

org.xbib.elx.api.IndexDefinition Maven / Gradle / Ivy

There is a newer version: 7.10.2.23
Show newest version
package org.xbib.elx.api;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;

public interface IndexDefinition {

    IndexDefinition setIndex(String index);

    String getIndex();

    IndexDefinition setFullIndexName(String fullIndexName);

    String getFullIndexName();

    IndexDefinition setSettingsUrl(String settingsUrlString) throws MalformedURLException;

    IndexDefinition setSettingsUrl(URL settingsUrl);

    URL getSettingsUrl();

    IndexDefinition setMappingsUrl(String mappingsUrlString) throws MalformedURLException;

    IndexDefinition setMappingsUrl(URL mappingsUrl);

    URL getMappingsUrl();

    IndexDefinition setDateTimePattern(String timeWindow);

    String getDateTimePattern();

    IndexDefinition setEnabled(boolean enabled);

    boolean isEnabled();

    IndexDefinition setIgnoreErrors(boolean ignoreErrors);

    boolean ignoreErrors();

    IndexDefinition setShift(boolean shift);

    boolean isShiftEnabled();

    IndexDefinition setForceMerge(boolean hasForceMerge);

    boolean hasForceMerge();

    IndexDefinition setReplicaLevel(int replicaLevel);

    int getReplicaLevel();

    IndexDefinition setRetention(IndexRetention indexRetention);

    IndexRetention getRetention();

    IndexDefinition setMaxWaitTime(long maxWaitTime, TimeUnit timeUnit);

    long getMaxWaitTime();

    TimeUnit getMaxWaitTimeUnit();

    IndexDefinition setStartRefreshInterval(long seconds);

    long getStartRefreshInterval();

    IndexDefinition setStopRefreshInterval(long seconds);

    long getStopRefreshInterval();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy