Class GcTableSync
java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcTableSync
sync a table
-
Constructor Summary
-
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 synclong
millis 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_idvoid
logPeriodically
(Map<String, Object> debugMap, GcTableSyncOutput gcTableSyncOutput) log periodicallystatic void
void
setDataBeanFrom
(GcTableSyncTableBean fromData1) data in the from tablevoid
setDataBeanRealTime
(GcTableSyncTableBean dataBeanRealTime1) data in the realtime tablevoid
setDataBeanTo
(GcTableSyncTableBean toData1) data in the to tablevoid
setGcGrouperSync
(GcGrouperSync gcGrouperSync1) provisioning table about this provisionervoid
setGcGrouperSyncHeartbeat
(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat1) heartbeat threadvoid
setGcGrouperSyncJob
(GcGrouperSyncJob gcGrouperSyncJob1) provisioning table about this job (full, incremental, etc) in this provisionervoid
setGcGrouperSyncLog
(GcGrouperSyncLog gcGrouperSyncLog1) log for this syncvoid
setGcTableSyncConfiguration
(GcTableSyncConfiguration gcTableSyncConfiguration) void
setGcTableSyncOutput
(GcTableSyncOutput gcTableSyncOutput1) output objectvoid
setGroupIdsToSync
(Collection<Object> groupIdsToSync1) if we need to pass in some group ids to sync before the main syncvoid
setLatestIncrementalValueBeforeStarted
(Long latestIncrementalValueBeforeStarted1) keep the latest incremental value when started on fullvoid
setMemberIdsToSync
(Collection<Object> memberIdsToSync1) if we need to pass in some member ids to sync before the main syncvoid
setMillisWhenSyncStarted
(long millisWhenSyncStarted1) millis since 1970 when the sync startedvoid
setPrimaryKeysToSync
(Set<MultiKey> primaryKeysToSync1) if passing in primary keys to sync, these are themvoid
setPrimaryKeysToSyncFromMemberships
(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
-
-