Class SingleThreadFilter

  • All Implemented Interfaces:
    java.util.logging.Filter

    public class SingleThreadFilter
    extends java.lang.Object
    implements java.util.logging.Filter
    Only accept log requests within a dedicated thread.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isLoggable​(java.util.logging.LogRecord record)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleThreadFilter

        public SingleThreadFilter()
      • SingleThreadFilter

        public SingleThreadFilter​(java.lang.Thread thread)
    • Method Detail

      • isLoggable

        public boolean isLoggable​(java.util.logging.LogRecord record)
        Specified by:
        isLoggable in interface java.util.logging.Filter