Carsten Ziegeler created OAK-1603:
-------------------------------------

             Summary: Operations tasks api improvements
                 Key: OAK-1603
                 URL: https://issues.apache.org/jira/browse/OAK-1603
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
    Affects Versions: 0.19
            Reporter: Carsten Ziegeler
             Fix For: 0.20


The mbean approach added with OAK-1160 only allows to start an operation and 
gets its status as a string.
There is no programatical way to find out, whether such an operation is 
currently running, if the start is really successful, and when the operation is 
finished.
The only way currently to achieve this is doing string parsing and knowing 
internals of how the string is created for each operation.
It would be nice to have such methods like isRunning() or isFinished() etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to