Class SharedObjectSyncUtil


  • public class SharedObjectSyncUtil
    extends Object
    This utility provides methods for synchronization of kettle's shared objects.
    • Constructor Detail

      • SharedObjectSyncUtil

        public SharedObjectSyncUtil​(Spoon spoon)
    • Method Detail

      • synchronizeConnections

        public void synchronizeConnections​(org.pentaho.di.core.database.DatabaseMeta database)
      • synchronizeConnections

        public void synchronizeConnections​(org.pentaho.di.core.database.DatabaseMeta database,
                                           String originalName)
        Synchronizes data from database to shared databases.
        Parameters:
        database - data to share
      • synchronizeSlaveServers

        public void synchronizeSlaveServers​(org.pentaho.di.cluster.SlaveServer slaveServer)
        Synchronizes data from slaveServer to shared slave servers.
        Parameters:
        slaveServer - data to share
      • synchronizeSlaveServers

        public void synchronizeSlaveServers​(org.pentaho.di.cluster.SlaveServer slaveServer,
                                            String originalName)
      • deleteSlaveServer

        public void deleteSlaveServer​(org.pentaho.di.cluster.SlaveServer removed)
      • deleteClusterSchema

        public void deleteClusterSchema​(org.pentaho.di.cluster.ClusterSchema removed)
      • deletePartitionSchema

        public void deletePartitionSchema​(org.pentaho.di.partition.PartitionSchema removed)
      • reloadTransformationRepositoryObjects

        public void reloadTransformationRepositoryObjects​(boolean includeActive)
      • reloadJobRepositoryObjects

        public void reloadJobRepositoryObjects​(boolean includeActive)
      • reloadSharedObjects

        public void reloadSharedObjects()
      • synchronizeClusterSchemas

        public void synchronizeClusterSchemas​(org.pentaho.di.cluster.ClusterSchema clusterSchema)
        Synchronizes data from clusterSchema to shared cluster schemas.
        Parameters:
        clusterSchema - data to share
      • synchronizeClusterSchemas

        public void synchronizeClusterSchemas​(org.pentaho.di.cluster.ClusterSchema clusterSchema,
                                              String originalName)
      • synchronizePartitionSchemas

        public void synchronizePartitionSchemas​(org.pentaho.di.partition.PartitionSchema partitionSchema)
        Synchronizes data from clusterSchema to shared partition schemas.
        Parameters:
        partitionSchema - data to share
      • synchronizePartitionSchemas

        public void synchronizePartitionSchemas​(org.pentaho.di.partition.PartitionSchema partitionSchema,
                                                String originalName)
      • synchronizeSteps

        public void synchronizeSteps​(org.pentaho.di.trans.step.StepMeta step)
        Synchronizes data from clusterSchema to shared steps.
        Parameters:
        step - data to shares
      • synchronizeSteps

        public void synchronizeSteps​(org.pentaho.di.trans.step.StepMeta step,
                                     String originalName)