io.datakernel.jmx.JmxModuleSettings Maven / Gradle / Ivy
package io.datakernel.jmx;
import io.datakernel.di.core.Key;
import java.lang.reflect.Type;
import java.time.Duration;
import java.util.function.Function;
@SuppressWarnings("unused")
public interface JmxModuleSettings {
JmxModuleSettings withRefreshPeriod(Duration refreshPeriod);
JmxModuleSettings withMaxJmxRefreshesPerOneCycle(int max);
JmxModuleSettings withModifier(Key> key, String attrName, AttributeModifier modifier);
JmxModuleSettings withModifier(Type type, String attrName, AttributeModifier modifier);
JmxModuleSettings withOptional(Key> key, String attrName);
JmxModuleSettings withOptional(Type type, String attrName);
JmxModuleSettings withHistogram(Key> key, String attrName, int[] histogramLevels);
JmxModuleSettings withHistogram(Class> clazz, String attrName, int[] histogramLevels);
JmxModuleSettings withGlobalMBean(Type type, String named);
JmxModuleSettings withGlobalMBean(Type type, Key> key);
JmxModuleSettings withObjectName(Key> key, String objectName);
JmxModuleSettings withScopes(boolean withScopes);
JmxModuleSettings withCustomType(Class type, Function to, Function from);
JmxModuleSettings withCustomType(Class type, Function to);
JmxModuleSettings withGlobalSingletons(Object... instances);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy