Package org.apache.tika.pipes.async
Class AsyncStatus
- java.lang.Object
-
- org.apache.tika.pipes.async.AsyncStatus
-
public class AsyncStatus extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AsyncStatus.ASYNC_STATUS
-
Constructor Summary
Constructors Constructor Description AsyncStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncStatus.ASYNC_STATUS
getAsyncStatus()
String
getCrashMessage()
Instant
getLastUpdate()
Instant
getStarted()
Map<PipesResult.STATUS,Long>
getStatusCounts()
TotalCountResult
getTotalCountResult()
String
toString()
void
update(Map<PipesResult.STATUS,Long> statusCounts, TotalCountResult totalCountResult, AsyncStatus.ASYNC_STATUS status)
void
updateCrash(String msg)
-
-
-
Method Detail
-
update
public void update(Map<PipesResult.STATUS,Long> statusCounts, TotalCountResult totalCountResult, AsyncStatus.ASYNC_STATUS status)
-
updateCrash
public void updateCrash(String msg)
-
getStarted
public Instant getStarted()
-
getLastUpdate
public Instant getLastUpdate()
-
getTotalCountResult
public TotalCountResult getTotalCountResult()
-
getStatusCounts
public Map<PipesResult.STATUS,Long> getStatusCounts()
-
getAsyncStatus
public AsyncStatus.ASYNC_STATUS getAsyncStatus()
-
getCrashMessage
public String getCrashMessage()
-
-