Class GcTableSync
java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcTableSync
sync a table
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata bean in the from tabledata in the realtime tabledata in the to tableprovisioning table about this provisionerheartbeat threadprovisioning table about this job (full, incremental, etc) in this provisionerlog for this syncconfiguration for this table syncoutput objectif we need to pass in some group ids to sync before the main synckeep the latest incremental value when started on fullif we need to pass in some member ids to sync before the main synclongmillis since 1970 when the sync startedif passing in primary keys to sync, these are themif passing in primary keys to sync, these are them in this format: group_id, member_id, field_idvoidlogPeriodically(Map<String, Object> debugMap, GcTableSyncOutput gcTableSyncOutput) log periodicallystatic voidvoidsetDataBeanFrom(GcTableSyncTableBean fromData1) data in the from tablevoidsetDataBeanRealTime(GcTableSyncTableBean dataBeanRealTime1) data in the realtime tablevoidsetDataBeanTo(GcTableSyncTableBean toData1) data in the to tablevoidsetGcGrouperSync(GcGrouperSync gcGrouperSync1) provisioning table about this provisionervoidsetGcGrouperSyncHeartbeat(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat1) heartbeat threadvoidsetGcGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1) provisioning table about this job (full, incremental, etc) in this provisionervoidsetGcGrouperSyncLog(GcGrouperSyncLog gcGrouperSyncLog1) log for this syncvoidsetGcTableSyncConfiguration(GcTableSyncConfiguration gcTableSyncConfiguration) voidsetGcTableSyncOutput(GcTableSyncOutput gcTableSyncOutput1) output objectvoidsetGroupIdsToSync(Collection<Object> groupIdsToSync1) if we need to pass in some group ids to sync before the main syncvoidsetLatestIncrementalValueBeforeStarted(Long latestIncrementalValueBeforeStarted1) keep the latest incremental value when started on fullvoidsetMemberIdsToSync(Collection<Object> memberIdsToSync1) if we need to pass in some member ids to sync before the main syncvoidsetMillisWhenSyncStarted(long millisWhenSyncStarted1) millis since 1970 when the sync startedvoidsetPrimaryKeysToSync(Set<MultiKey> primaryKeysToSync1) if passing in primary keys to sync, these are themvoidsetPrimaryKeysToSyncFromMemberships(Set<MultiKey> primaryKeysToSyncFromMemberships1) if passing in primary keys to sync, these are them in this format: group_id, member_id, field_idsync(String configKey, GcTableSyncSubtype gcTableSyncSubtype) pass in the output which will update as it runs
-
Constructor Details
-
GcTableSync
public GcTableSync()
-
-
Method Details
-
getLatestIncrementalValueBeforeStarted
keep the latest incremental value when started on full- Returns:
- the number
-
setLatestIncrementalValueBeforeStarted
keep the latest incremental value when started on full- Parameters:
latestIncrementalValueBeforeStarted1-
-
getMillisWhenSyncStarted
public long getMillisWhenSyncStarted()millis since 1970 when the sync started- Returns:
- when started
-
setMillisWhenSyncStarted
public void setMillisWhenSyncStarted(long millisWhenSyncStarted1) millis since 1970 when the sync started- Parameters:
millisWhenSyncStarted1-
-
getGcTableSyncOutput
output object- Returns:
- output
-
setGcTableSyncOutput
output object- Parameters:
gcTableSyncOutput1-
-
getDataBeanFrom
data bean in the from table- Returns:
- the fromData
-
setDataBeanFrom
data in the from table- Parameters:
fromData1- the fromData to set
-
getDataBeanTo
data in the to table- Returns:
- the toData
-
setDataBeanTo
data in the to table- Parameters:
toData1- the toData to set
-
getGcGrouperSyncLog
log for this sync- Returns:
-
setGcGrouperSyncLog
log for this sync- Parameters:
gcGrouperSyncLog1-
-
getGcGrouperSync
provisioning table about this provisioner- Returns:
- sync
-
setGcGrouperSync
provisioning table about this provisioner- Parameters:
gcGrouperSync1-
-
getGcGrouperSyncJob
provisioning table about this job (full, incremental, etc) in this provisioner- Returns:
- job
-
setGcGrouperSyncJob
provisioning table about this job (full, incremental, etc) in this provisioner- Parameters:
gcGrouperSyncJob1-
-
getDataBeanRealTime
data in the realtime table- Returns:
- the dataBeanRealTime
-
setDataBeanRealTime
data in the realtime table- Parameters:
dataBeanRealTime1- the dataBeanRealTime to set
-
getGcTableSyncConfiguration
configuration for this table sync- Returns:
- the gcTableSyncConfiguration
-
getDebugMap
-
sync
pass in the output which will update as it runs- Parameters:
gcTableSyncOutputArray-
-
setGcTableSyncConfiguration
-
logPeriodically
log periodically- Parameters:
debugMap-gcTableSyncOutput-
-
getPrimaryKeysToSync
if passing in primary keys to sync, these are them- Returns:
- primary keys to syn
-
setPrimaryKeysToSync
if passing in primary keys to sync, these are them- Parameters:
primaryKeysToSync1-
-
getPrimaryKeysToSyncFromMemberships
if passing in primary keys to sync, these are them in this format: group_id, member_id, field_id- Returns:
- primary keys to syn
-
setPrimaryKeysToSyncFromMemberships
if passing in primary keys to sync, these are them in this format: group_id, member_id, field_id- Parameters:
primaryKeysToSyncFromMemberships1-
-
getMemberIdsToSync
if we need to pass in some member ids to sync before the main sync- Returns:
- member ids
-
setMemberIdsToSync
if we need to pass in some member ids to sync before the main sync- Parameters:
memberIdsToSync1-
-
getGroupIdsToSync
if we need to pass in some group ids to sync before the main sync- Returns:
-
setGroupIdsToSync
if we need to pass in some group ids to sync before the main sync- Parameters:
groupIdsToSync1-
-
getGcGrouperSyncHeartbeat
heartbeat thread- Returns:
- heartbeat
-
setGcGrouperSyncHeartbeat
heartbeat thread- Parameters:
gcGrouperSyncHeartbeat1-
-
main
- Parameters:
args-
-