public class GcGrouperSyncHeartbeat extends Object
| Constructor and Description |
|---|
GcGrouperSyncHeartbeat() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeartbeatLogic(Runnable heartbeatLogic)
add a logic to run periodically
|
static void |
endAndWaitForThread(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat)
end this heartbeat and wait for it
|
GcGrouperSyncJob |
getGcGrouperSyncJob()
job
|
Thread |
getThread()
the thread
|
void |
insertHeartbeatLogic(Runnable heartbeatLogic)
add a logic to run periodically
|
boolean |
isFullSync() |
boolean |
isInterrupted()
if this job is interrupted from another job, this communicates that out to callers
check this while running
|
boolean |
isStarted()
if is started
|
void |
runHeartbeatThread() |
void |
setDone(boolean done1)
if done, stop thread, set this from caller to say done
|
void |
setFullSync(boolean fullSync1) |
void |
setGcGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1)
job
|
void |
setPaused(boolean paused1)
if this is paused, call this from caller to pause things
|
void |
setThread(Thread thread1)
the thread
|
public boolean isInterrupted()
public boolean isFullSync()
public void setFullSync(boolean fullSync1)
fullSync1 - public void setDone(boolean done1)
done1 - public GcGrouperSyncJob getGcGrouperSyncJob()
public void setGcGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1)
gcGrouperSyncJob1 - public void runHeartbeatThread()
public Thread getThread()
public void setThread(Thread thread1)
thread1 - public void addHeartbeatLogic(Runnable heartbeatLogic)
heartbeatLogic - public void insertHeartbeatLogic(Runnable heartbeatLogic)
heartbeatLogic - public boolean isStarted()
public void setPaused(boolean paused1)
paused1 - public static void endAndWaitForThread(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat)
gcGrouperSyncHeartbeat - Copyright © 2021 Internet2. All rights reserved.