com.evolveum.midpoint.model.sync
Class LiveSyncTaskHandler

java.lang.Object
  extended by com.evolveum.midpoint.model.sync.LiveSyncTaskHandler
All Implemented Interfaces:
TaskHandler

@Component
public class LiveSyncTaskHandler
extends java.lang.Object
implements TaskHandler

The task hander for a live synchronization. This handler takes care of executing live synchronization "runs". It means that the handler "run" method will be called every few seconds. The responsibility is to scan for changes that happened since the last run.

Author:
Radovan Semancik

Field Summary
static java.lang.String HANDLER_URI
           
 
Constructor Summary
LiveSyncTaskHandler()
           
 
Method Summary
 long heartbeat(Task task)
           
 void refreshStatus(Task task)
           
 TaskRunResult run(Task task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HANDLER_URI

public static final java.lang.String HANDLER_URI
See Also:
Constant Field Values
Constructor Detail

LiveSyncTaskHandler

public LiveSyncTaskHandler()
Method Detail

run

public TaskRunResult run(Task task)
Specified by:
run in interface TaskHandler

heartbeat

public long heartbeat(Task task)
Specified by:
heartbeat in interface TaskHandler

refreshStatus

public void refreshStatus(Task task)
Specified by:
refreshStatus in interface TaskHandler


Copyright © 2011 evolveum. All Rights Reserved.