Interface HdfsActiveSyncProvider

    • Method Detail

      • getActivitySyncInfo

        alluxio.SyncInfo getActivitySyncInfo()
        Get Active SyncInfo from the sync provider.
        Returns:
        SyncInfo a syncInfo containing information about what to sync and how to sync
      • startPolling

        boolean startPolling​(long txId)
                      throws java.io.IOException
        start polling thread.
        Parameters:
        txId - transaction id to start monitoring
        Returns:
        true if polling thread started successfully
        Throws:
        java.io.IOException
      • stopPolling

        boolean stopPolling()
        stop polling thread.
        Returns:
        true if polling thread stopped successfully
      • startSync

        void startSync​(alluxio.AlluxioURI ufsUri)
        start syncing on a ufs uri.
        Parameters:
        ufsUri - the ufs uri to monitor
      • stopSync

        void stopSync​(alluxio.AlluxioURI ufsUri)
        stop syncing on a ufs uri.
        Parameters:
        ufsUri - the ufs uri to stop monitoring