Package nl.vpro.jmx
Class MBeans.UpdatableString
- java.lang.Object
-
- nl.vpro.jmx.MBeans.UpdatableString
-
- All Implemented Interfaces:
BiConsumer<Level,CharSequence>
,Supplier<String>
,SimpleLogger
,StringSupplierSimpleLogger
- Enclosing class:
- MBeans
public static class MBeans.UpdatableString extends Object implements StringSupplierSimpleLogger
A String supplier of one line. This can be used as argument forMBeans.returnString(String, StringSupplierSimpleLogger, Duration, Consumer)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.vpro.logging.simple.SimpleLogger
SimpleLogger.RemoveFromThreadLocal
-
-
Field Summary
-
Fields inherited from interface nl.vpro.logging.simple.SimpleLogger
THREAD_LOCAL
-
-
Constructor Summary
Constructors Constructor Description UpdatableString(org.slf4j.Logger logger, String string, Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Level level, CharSequence s, Throwable t)
String
get()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-