public class NoopHdfsActiveSyncProvider extends Object implements HdfsActiveSyncProvider
Constructor and Description |
---|
NoopHdfsActiveSyncProvider() |
Modifier and Type | Method and Description |
---|---|
SyncInfo |
getActivitySyncInfo()
Get Active SyncInfo from the sync provider.
|
boolean |
startPolling(long txId)
start polling thread.
|
void |
startSync(AlluxioURI ufsUri)
start syncing on a ufs uri.
|
boolean |
stopPolling()
stop polling thread.
|
void |
stopSync(AlluxioURI ufsUri)
stop syncing on a ufs uri.
|
public SyncInfo getActivitySyncInfo()
HdfsActiveSyncProvider
getActivitySyncInfo
in interface HdfsActiveSyncProvider
public boolean startPolling(long txId)
HdfsActiveSyncProvider
startPolling
in interface HdfsActiveSyncProvider
txId
- transaction id to start monitoringpublic boolean stopPolling()
HdfsActiveSyncProvider
stopPolling
in interface HdfsActiveSyncProvider
public void startSync(AlluxioURI ufsUri)
HdfsActiveSyncProvider
startSync
in interface HdfsActiveSyncProvider
ufsUri
- the ufs uri to monitorpublic void stopSync(AlluxioURI ufsUri)
HdfsActiveSyncProvider
stopSync
in interface HdfsActiveSyncProvider
ufsUri
- the ufs uri to stop monitoringCopyright © 2023. All Rights Reserved.