public class LocalFsBlobStoreSynchronizer extends Object
Constructor and Description |
---|
LocalFsBlobStoreSynchronizer(BlobStore blobStore,
Map<String,Object> conf) |
Modifier and Type | Method and Description |
---|---|
void |
deleteKeySetFromBlobStoreNotOnZookeeper(Set<String> keySetBlobStore,
Set<String> keySetZookeeper) |
Set<String> |
getBlobStoreKeySet() |
Set<String> |
getKeySetToDownload(Set<String> blobStoreKeySet,
Set<String> zookeeperKeySet) |
Set<String> |
getZookeeperKeySet() |
void |
setBlobStoreKeySet(Set<String> blobStoreKeySet) |
void |
setNimbusInfo(NimbusInfo nimbusInfo) |
void |
setZkClient(org.apache.storm.shade.org.apache.curator.framework.CuratorFramework zkClient) |
void |
setZookeeperKeySet(Set<String> zookeeperKeySet) |
void |
syncBlobs() |
void |
updateKeySetForBlobStore(Set<String> keySetBlobStore) |
public void setNimbusInfo(NimbusInfo nimbusInfo)
public void setZkClient(org.apache.storm.shade.org.apache.curator.framework.CuratorFramework zkClient)
public void syncBlobs()
public void deleteKeySetFromBlobStoreNotOnZookeeper(Set<String> keySetBlobStore, Set<String> keySetZookeeper) throws Exception
Exception
Copyright © 2023 The Apache Software Foundation. All rights reserved.