public interface TempResultOwnerManager
TempResultOwnerManager manages the owners of temporary results.| Modifier and Type | Method and Description |
|---|---|
boolean |
isOwner(java.lang.String owner,
java.lang.String tempResult)
Checks if an owner is the owner of the temporary result.
|
void |
registerOwner(java.lang.String owner,
java.lang.String tempResult)
Registers the owner of a temporary result.
|
void |
removeOwner(java.lang.String owner,
java.lang.String tempResult)
Removes the owner of the temporary result.
|
void |
removeOwnersIfTimeout()
Removes the temporary result owners if the timeout is reached.
|
void |
setTimeout(long timeouts)
Sets the timeouts of temporary result owner record in milliseconds.
|
void setTimeout(long timeouts)
timeout - the timeouts of temporary result owner record in milliseconds.void registerOwner(java.lang.String owner,
java.lang.String tempResult)
owner - the owner of the temporary result.tempResult - the temporary result.boolean isOwner(java.lang.String owner,
java.lang.String tempResult)
owner - the owner.tempResult - the temporary result.void removeOwner(java.lang.String owner,
java.lang.String tempResult)
owner - the owner of the temporary result.tempResult - the temporary result.void removeOwnersIfTimeout()