Class AbstractMasterProcessChannelProcessorFactory
- java.lang.Object
-
- org.apache.maven.surefire.booter.spi.AbstractMasterProcessChannelProcessorFactory
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,MasterProcessChannelProcessorFactory
- Direct Known Subclasses:
LegacyMasterProcessChannelProcessorFactory,SurefireMasterProcessChannelProcessorFactory
public abstract class AbstractMasterProcessChannelProcessorFactory extends java.lang.Object implements MasterProcessChannelProcessorFactory
Default implementation ofMasterProcessChannelProcessorFactory.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ScheduledExecutorServiceflusherprivate static java.lang.StringSTREAM_FLUSHER
-
Constructor Summary
Constructors Constructor Description AbstractMasterProcessChannelProcessorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidschedulePeriodicFlusher(int delayInMillis, WritableBufferedByteChannel channel)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.maven.surefire.spi.MasterProcessChannelProcessorFactory
canUse, connect, createDecoder, createEncoder
-
-
-
-
Field Detail
-
STREAM_FLUSHER
private static final java.lang.String STREAM_FLUSHER
- See Also:
- Constant Field Values
-
flusher
private final java.util.concurrent.ScheduledExecutorService flusher
-
-
Method Detail
-
schedulePeriodicFlusher
protected void schedulePeriodicFlusher(int delayInMillis, WritableBufferedByteChannel channel)
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-