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.ScheduledExecutorService
flusher
private static java.lang.String
STREAM_FLUSHER
-
Constructor Summary
Constructors Constructor Description AbstractMasterProcessChannelProcessorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
schedulePeriodicFlusher(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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-