|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.replication.ReplicationActionExecutor.ReplicationDefinitionLockExtender
protected class ReplicationActionExecutor.ReplicationDefinitionLockExtender
A TransferCallback
which periodically renews the
lock held against a ReplicationDefinition
Constructor Summary | |
---|---|
protected |
ReplicationActionExecutor.ReplicationDefinitionLockExtender(ReplicationDefinition replicationDef)
|
Method Summary | |
---|---|
void |
close()
Give up our lock on the ReplicationDefinition |
boolean |
isActive()
Job Lock Refresh |
void |
lockReleased()
Job Lock Service has released us. |
void |
processEvent(TransferEvent event)
No matter what the event is, refresh our lock on the ReplicationDefinition , and
handle a cancel if it was requested. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ReplicationActionExecutor.ReplicationDefinitionLockExtender(ReplicationDefinition replicationDef)
Method Detail |
---|
public void processEvent(TransferEvent event)
ReplicationDefinition
, and
handle a cancel if it was requested.
processEvent
in interface TransferCallback
public void close()
ReplicationDefinition
public boolean isActive()
isActive
in interface JobLockService.JobLockRefreshCallback
public void lockReleased()
lockReleased
in interface JobLockService.JobLockRefreshCallback
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |