java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcTableSync

public class GcTableSync extends Object
sync a table
  • Constructor Details

    • GcTableSync

      public GcTableSync()
  • Method Details

    • getLatestIncrementalValueBeforeStarted

      public Long getLatestIncrementalValueBeforeStarted()
      keep the latest incremental value when started on full
      Returns:
      the number
    • setLatestIncrementalValueBeforeStarted

      public void setLatestIncrementalValueBeforeStarted(Long latestIncrementalValueBeforeStarted1)
      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

      public GcTableSyncOutput getGcTableSyncOutput()
      output object
      Returns:
      output
    • setGcTableSyncOutput

      public void setGcTableSyncOutput(GcTableSyncOutput gcTableSyncOutput1)
      output object
      Parameters:
      gcTableSyncOutput1 -
    • getDataBeanFrom

      public GcTableSyncTableBean getDataBeanFrom()
      data bean in the from table
      Returns:
      the fromData
    • setDataBeanFrom

      public void setDataBeanFrom(GcTableSyncTableBean fromData1)
      data in the from table
      Parameters:
      fromData1 - the fromData to set
    • getDataBeanTo

      public GcTableSyncTableBean getDataBeanTo()
      data in the to table
      Returns:
      the toData
    • setDataBeanTo

      public void setDataBeanTo(GcTableSyncTableBean toData1)
      data in the to table
      Parameters:
      toData1 - the toData to set
    • getGcGrouperSyncLog

      public GcGrouperSyncLog getGcGrouperSyncLog()
      log for this sync
      Returns:
    • setGcGrouperSyncLog

      public void setGcGrouperSyncLog(GcGrouperSyncLog gcGrouperSyncLog1)
      log for this sync
      Parameters:
      gcGrouperSyncLog1 -
    • getGcGrouperSync

      public GcGrouperSync getGcGrouperSync()
      provisioning table about this provisioner
      Returns:
      sync
    • setGcGrouperSync

      public void setGcGrouperSync(GcGrouperSync gcGrouperSync1)
      provisioning table about this provisioner
      Parameters:
      gcGrouperSync1 -
    • getGcGrouperSyncJob

      public GcGrouperSyncJob getGcGrouperSyncJob()
      provisioning table about this job (full, incremental, etc) in this provisioner
      Returns:
      job
    • setGcGrouperSyncJob

      public void setGcGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1)
      provisioning table about this job (full, incremental, etc) in this provisioner
      Parameters:
      gcGrouperSyncJob1 -
    • getDataBeanRealTime

      public GcTableSyncTableBean getDataBeanRealTime()
      data in the realtime table
      Returns:
      the dataBeanRealTime
    • setDataBeanRealTime

      public void setDataBeanRealTime(GcTableSyncTableBean dataBeanRealTime1)
      data in the realtime table
      Parameters:
      dataBeanRealTime1 - the dataBeanRealTime to set
    • getGcTableSyncConfiguration

      public GcTableSyncConfiguration getGcTableSyncConfiguration()
      configuration for this table sync
      Returns:
      the gcTableSyncConfiguration
    • sync

      public GcTableSyncOutput sync(String configKey, GcTableSyncSubtype gcTableSyncSubtype)
      pass in the output which will update as it runs
      Parameters:
      gcTableSyncOutputArray -
    • setGcTableSyncConfiguration

      public void setGcTableSyncConfiguration(GcTableSyncConfiguration gcTableSyncConfiguration)
    • logPeriodically

      public void logPeriodically(Map<String,Object> debugMap, GcTableSyncOutput gcTableSyncOutput)
      log periodically
      Parameters:
      debugMap -
      gcTableSyncOutput -
    • getPrimaryKeysToSync

      public Set<MultiKey> getPrimaryKeysToSync()
      if passing in primary keys to sync, these are them
      Returns:
      primary keys to syn
    • setPrimaryKeysToSync

      public void setPrimaryKeysToSync(Set<MultiKey> primaryKeysToSync1)
      if passing in primary keys to sync, these are them
      Parameters:
      primaryKeysToSync1 -
    • getPrimaryKeysToSyncFromMemberships

      public Set<MultiKey> 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

      public void setPrimaryKeysToSyncFromMemberships(Set<MultiKey> primaryKeysToSyncFromMemberships1)
      if passing in primary keys to sync, these are them in this format: group_id, member_id, field_id
      Parameters:
      primaryKeysToSyncFromMemberships1 -
    • getMemberIdsToSync

      public Collection<Object> getMemberIdsToSync()
      if we need to pass in some member ids to sync before the main sync
      Returns:
      member ids
    • setMemberIdsToSync

      public void setMemberIdsToSync(Collection<Object> memberIdsToSync1)
      if we need to pass in some member ids to sync before the main sync
      Parameters:
      memberIdsToSync1 -
    • getGroupIdsToSync

      public Collection<Object> getGroupIdsToSync()
      if we need to pass in some group ids to sync before the main sync
      Returns:
    • setGroupIdsToSync

      public void setGroupIdsToSync(Collection<Object> groupIdsToSync1)
      if we need to pass in some group ids to sync before the main sync
      Parameters:
      groupIdsToSync1 -
    • getGcGrouperSyncHeartbeat

      public GcGrouperSyncHeartbeat getGcGrouperSyncHeartbeat()
      heartbeat thread
      Returns:
      heartbeat
    • setGcGrouperSyncHeartbeat

      public void setGcGrouperSyncHeartbeat(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat1)
      heartbeat thread
      Parameters:
      gcGrouperSyncHeartbeat1 -
    • main

      public static void main(String[] args)
      Parameters:
      args -