Package io.activej.jmx
Class JmxRegistry.Builder
java.lang.Object
io.activej.common.builder.AbstractBuilder<JmxRegistry.Builder,JmxRegistry>
io.activej.jmx.JmxRegistry.Builder
- All Implemented Interfaces:
io.activej.common.builder.Builder<JmxRegistry>,io.activej.common.initializer.WithInitializer<JmxRegistry.Builder>
- Enclosing class:
- JmxRegistry
public final class JmxRegistry.Builder
extends io.activej.common.builder.AbstractBuilder<JmxRegistry.Builder,JmxRegistry>
-
Method Summary
Modifier and TypeMethodDescriptionprotected JmxRegistrydoBuild()withCustomType(Class<T> type, DynamicMBeanFactory.JmxCustomTypeAdapter<T> adapter) withCustomType(Type type, DynamicMBeanFactory.JmxCustomTypeAdapter<?> adapter) withCustomTypes(Map<Type, DynamicMBeanFactory.JmxCustomTypeAdapter<?>> customTypes) withObjectNameMapping(ProtoObjectNameMapper objectNameMapper) withScopes(boolean withScopes) withWorkerPredicate(BiPredicate<io.activej.inject.Key<?>, Integer> predicate) Methods inherited from class io.activej.common.builder.AbstractBuilder
build, checkNotBuilt, isBuiltMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.common.initializer.WithInitializer
initialize, set, setIf, setIfNotNull
-
Method Details
-
withCustomTypes
public JmxRegistry.Builder withCustomTypes(Map<Type, DynamicMBeanFactory.JmxCustomTypeAdapter<?>> customTypes) -
withCustomType
public JmxRegistry.Builder withCustomType(Type type, DynamicMBeanFactory.JmxCustomTypeAdapter<?> adapter) -
withCustomType
public <T> JmxRegistry.Builder withCustomType(Class<T> type, DynamicMBeanFactory.JmxCustomTypeAdapter<T> adapter) -
withScopes
-
withObjectNameMapping
-
withWorkerPredicate
public JmxRegistry.Builder withWorkerPredicate(BiPredicate<io.activej.inject.Key<?>, Integer> predicate) -
doBuild
- Specified by:
doBuildin classio.activej.common.builder.AbstractBuilder<JmxRegistry.Builder,JmxRegistry>
-