public class GcTableSync extends Object
Constructor and Description |
---|
GcTableSync() |
Modifier and Type | Method and Description |
---|---|
GcTableSyncTableBean |
getDataBeanFrom()
data bean in the from table
|
GcTableSyncTableBean |
getDataBeanRealTime()
data in the realtime table
|
GcTableSyncTableBean |
getDataBeanTo()
data in the to table
|
GcGrouperSync |
getGcGrouperSync()
provisioning table about this provisioner
|
GcGrouperSyncHeartbeat |
getGcGrouperSyncHeartbeat()
heartbeat thread
|
GcGrouperSyncJob |
getGcGrouperSyncJob()
provisioning table about this job (full, incremental, etc) in this provisioner
|
GcGrouperSyncLog |
getGcGrouperSyncLog()
log for this sync
|
GcTableSyncConfiguration |
getGcTableSyncConfiguration()
configuration for this table sync
|
GcTableSyncOutput |
getGcTableSyncOutput()
output object
|
Collection<Object> |
getGroupIdsToSync()
if we need to pass in some group ids to sync before the main sync
|
Long |
getLatestIncrementalValueBeforeStarted()
keep the latest incremental value when started on full
|
Collection<Object> |
getMemberIdsToSync()
if we need to pass in some member ids to sync before the main sync
|
long |
getMillisWhenSyncStarted()
millis since 1970 when the sync started
|
Set<MultiKey> |
getPrimaryKeysToSync()
if passing in primary keys to sync, these are them
|
Set<MultiKey> |
getPrimaryKeysToSyncFromMemberships()
if passing in primary keys to sync, these are them in this format: group_id, member_id, field_id
|
void |
logPeriodically(Map<String,Object> debugMap,
GcTableSyncOutput gcTableSyncOutput)
log periodically
|
static void |
main(String[] args) |
void |
setDataBeanFrom(GcTableSyncTableBean fromData1)
data in the from table
|
void |
setDataBeanRealTime(GcTableSyncTableBean dataBeanRealTime1)
data in the realtime table
|
void |
setDataBeanTo(GcTableSyncTableBean toData1)
data in the to table
|
void |
setGcGrouperSync(GcGrouperSync gcGrouperSync1)
provisioning table about this provisioner
|
void |
setGcGrouperSyncHeartbeat(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat1)
heartbeat thread
|
void |
setGcGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1)
provisioning table about this job (full, incremental, etc) in this provisioner
|
void |
setGcGrouperSyncLog(GcGrouperSyncLog gcGrouperSyncLog1)
log for this sync
|
void |
setGcTableSyncConfiguration(GcTableSyncConfiguration gcTableSyncConfiguration) |
void |
setGcTableSyncOutput(GcTableSyncOutput gcTableSyncOutput1)
output object
|
void |
setGroupIdsToSync(Collection<Object> groupIdsToSync1)
if we need to pass in some group ids to sync before the main sync
|
void |
setLatestIncrementalValueBeforeStarted(Long latestIncrementalValueBeforeStarted1)
keep the latest incremental value when started on full
|
void |
setMemberIdsToSync(Collection<Object> memberIdsToSync1)
if we need to pass in some member ids to sync before the main sync
|
void |
setMillisWhenSyncStarted(long millisWhenSyncStarted1)
millis since 1970 when the sync started
|
void |
setPrimaryKeysToSync(Set<MultiKey> primaryKeysToSync1)
if passing in primary keys to sync, these are them
|
void |
setPrimaryKeysToSyncFromMemberships(Set<MultiKey> primaryKeysToSyncFromMemberships1)
if passing in primary keys to sync, these are them in this format: group_id, member_id, field_id
|
GcTableSyncOutput |
sync(String configKey,
GcTableSyncSubtype gcTableSyncSubtype)
pass in the output which will update as it runs
|
public Long getLatestIncrementalValueBeforeStarted()
public void setLatestIncrementalValueBeforeStarted(Long latestIncrementalValueBeforeStarted1)
latestIncrementalValueBeforeStarted1
- public long getMillisWhenSyncStarted()
public void setMillisWhenSyncStarted(long millisWhenSyncStarted1)
millisWhenSyncStarted1
- public GcTableSyncOutput getGcTableSyncOutput()
public void setGcTableSyncOutput(GcTableSyncOutput gcTableSyncOutput1)
gcTableSyncOutput1
- public GcTableSyncTableBean getDataBeanFrom()
public void setDataBeanFrom(GcTableSyncTableBean fromData1)
fromData1
- the fromData to setpublic GcTableSyncTableBean getDataBeanTo()
public void setDataBeanTo(GcTableSyncTableBean toData1)
toData1
- the toData to setpublic GcGrouperSyncLog getGcGrouperSyncLog()
public void setGcGrouperSyncLog(GcGrouperSyncLog gcGrouperSyncLog1)
gcGrouperSyncLog1
- public GcGrouperSync getGcGrouperSync()
public void setGcGrouperSync(GcGrouperSync gcGrouperSync1)
gcGrouperSync1
- public GcGrouperSyncJob getGcGrouperSyncJob()
public void setGcGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1)
gcGrouperSyncJob1
- public GcTableSyncTableBean getDataBeanRealTime()
public void setDataBeanRealTime(GcTableSyncTableBean dataBeanRealTime1)
dataBeanRealTime1
- the dataBeanRealTime to setpublic GcTableSyncConfiguration getGcTableSyncConfiguration()
public GcTableSyncOutput sync(String configKey, GcTableSyncSubtype gcTableSyncSubtype)
gcTableSyncOutputArray
- public void setGcTableSyncConfiguration(GcTableSyncConfiguration gcTableSyncConfiguration)
public void logPeriodically(Map<String,Object> debugMap, GcTableSyncOutput gcTableSyncOutput)
debugMap
- gcTableSyncOutput
- public Set<MultiKey> getPrimaryKeysToSync()
public void setPrimaryKeysToSync(Set<MultiKey> primaryKeysToSync1)
primaryKeysToSync1
- public Set<MultiKey> getPrimaryKeysToSyncFromMemberships()
public void setPrimaryKeysToSyncFromMemberships(Set<MultiKey> primaryKeysToSyncFromMemberships1)
primaryKeysToSyncFromMemberships1
- public Collection<Object> getMemberIdsToSync()
public void setMemberIdsToSync(Collection<Object> memberIdsToSync1)
memberIdsToSync1
- public Collection<Object> getGroupIdsToSync()
public void setGroupIdsToSync(Collection<Object> groupIdsToSync1)
groupIdsToSync1
- public GcGrouperSyncHeartbeat getGcGrouperSyncHeartbeat()
public void setGcGrouperSyncHeartbeat(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat1)
gcGrouperSyncHeartbeat1
- public static void main(String[] args)
args
- Copyright © 2016 Internet2. All rights reserved.