Package alluxio.underfs.hdfs
Class NoopHdfsActiveSyncProvider
- java.lang.Object
-
- alluxio.underfs.hdfs.NoopHdfsActiveSyncProvider
-
- All Implemented Interfaces:
HdfsActiveSyncProvider
public class NoopHdfsActiveSyncProvider extends java.lang.Object implements HdfsActiveSyncProvider
The noop HDFS Active Sync provider.
-
-
Constructor Summary
Constructors Constructor Description NoopHdfsActiveSyncProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description alluxio.SyncInfo
getActivitySyncInfo()
Get Active SyncInfo from the sync provider.boolean
startPolling(long txId)
start polling thread.void
startSync(alluxio.AlluxioURI ufsUri)
start syncing on a ufs uri.boolean
stopPolling()
stop polling thread.void
stopSync(alluxio.AlluxioURI ufsUri)
stop syncing on a ufs uri.
-
-
-
Method Detail
-
getActivitySyncInfo
public alluxio.SyncInfo getActivitySyncInfo()
Description copied from interface:HdfsActiveSyncProvider
Get Active SyncInfo from the sync provider.- Specified by:
getActivitySyncInfo
in interfaceHdfsActiveSyncProvider
- Returns:
- SyncInfo a syncInfo containing information about what to sync and how to sync
-
startPolling
public boolean startPolling(long txId)
Description copied from interface:HdfsActiveSyncProvider
start polling thread.- Specified by:
startPolling
in interfaceHdfsActiveSyncProvider
- Parameters:
txId
- transaction id to start monitoring- Returns:
- true if polling thread started successfully
-
stopPolling
public boolean stopPolling()
Description copied from interface:HdfsActiveSyncProvider
stop polling thread.- Specified by:
stopPolling
in interfaceHdfsActiveSyncProvider
- Returns:
- true if polling thread stopped successfully
-
startSync
public void startSync(alluxio.AlluxioURI ufsUri)
Description copied from interface:HdfsActiveSyncProvider
start syncing on a ufs uri.- Specified by:
startSync
in interfaceHdfsActiveSyncProvider
- Parameters:
ufsUri
- the ufs uri to monitor
-
stopSync
public void stopSync(alluxio.AlluxioURI ufsUri)
Description copied from interface:HdfsActiveSyncProvider
stop syncing on a ufs uri.- Specified by:
stopSync
in interfaceHdfsActiveSyncProvider
- Parameters:
ufsUri
- the ufs uri to stop monitoring
-
-