Class RotateResult
java.lang.Object
org.codice.alliance.video.stream.mpegts.netty.RotateResult
This is a POJO that contains the result of a file rotation request. If a rotation occurred, then
getFile() will return an Optional that contains the File for the rotated
file. If a rotation occurred because of a timeout, then isTimeout() will return TRUE.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RotateResult
- Parameters:
file- the rotated file, may be nullisTimeout- true if rotation occurred because of timeout
-
-
Method Details
-
getFile
-
isTimeout
public boolean isTimeout()
-