Class Serializer
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.Serializer
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Throwableprivate final ArrayDeque<RemoteEvent> private Threadprivate AtomicBooleanprivate JsonWriterprivate final ObjectShould help in ensuring the right order of stream writes.private Writer -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lock
Should help in ensuring the right order of stream writes. -
writer
-
jsonWriter
-
events
-
doForcedShutdown
-
forceCloseDaemon
-
forceCloseDaemonQuit
-
-
Constructor Details
-
Serializer
- Throws:
IOException
-
-
Method Details
-
serialize
- Throws:
IOException
-
flushQueue
- Throws:
IOException
-
flush
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-