mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-18 20:12:13 +08:00
Make BackupContainerFileSystem.h a non-actor file
This commit is contained in:
parent
9242456d71
commit
ae91cf1d44
@ -37,7 +37,7 @@
|
|||||||
#include "flow/Platform.h"
|
#include "flow/Platform.h"
|
||||||
#include "fdbclient/AsyncFileBlobStore.actor.h"
|
#include "fdbclient/AsyncFileBlobStore.actor.h"
|
||||||
#include "fdbclient/BackupContainerAzureBlobStore.h"
|
#include "fdbclient/BackupContainerAzureBlobStore.h"
|
||||||
#include "fdbclient/BackupContainerFileSystem.actor.h"
|
#include "fdbclient/BackupContainerFileSystem.h"
|
||||||
#include "fdbclient/BackupContainerLocalDirectory.h"
|
#include "fdbclient/BackupContainerLocalDirectory.h"
|
||||||
#include "fdbclient/BackupContainerS3BlobStore.h"
|
#include "fdbclient/BackupContainerS3BlobStore.h"
|
||||||
#include "fdbclient/Status.h"
|
#include "fdbclient/Status.h"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#define FDBCLIENT_BACKUP_CONTAINER_AZURE_BLOBSTORE_H
|
#define FDBCLIENT_BACKUP_CONTAINER_AZURE_BLOBSTORE_H
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "fdbclient/BackupContainerFileSystem.actor.h"
|
#include "fdbclient/BackupContainerFileSystem.h"
|
||||||
|
|
||||||
#include "storage_credential.h"
|
#include "storage_credential.h"
|
||||||
#include "storage_account.h"
|
#include "storage_account.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "fdbclient/BackupContainerAzureBlobStore.h"
|
#include "fdbclient/BackupContainerAzureBlobStore.h"
|
||||||
#include "fdbclient/BackupContainerFileSystem.actor.h"
|
#include "fdbclient/BackupContainerFileSystem.h"
|
||||||
#include "fdbclient/BackupContainerLocalDirectory.h"
|
#include "fdbclient/BackupContainerLocalDirectory.h"
|
||||||
#include "fdbclient/FDBTypes.h"
|
#include "fdbclient/FDBTypes.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* BackupContainerFileSystem.actor.h
|
* BackupContainerFileSystem.h
|
||||||
*
|
*
|
||||||
* This source file is part of the FoundationDB open source project
|
* This source file is part of the FoundationDB open source project
|
||||||
*
|
*
|
||||||
@ -18,12 +18,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_H
|
||||||
#if defined(NO_INTELLISENSE) && !defined(FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_ACTOR_G_H)
|
|
||||||
#define FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_ACTOR_G_H
|
|
||||||
#include "fdbclient/BackupContainerFileSystem.actor.g.h"
|
|
||||||
#elif !defined(FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_H)
|
|
||||||
#define FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_H
|
#define FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_H
|
||||||
|
#pragma once
|
||||||
|
|
||||||
// FIXME: Trim this down
|
// FIXME: Trim this down
|
||||||
#include "flow/Platform.actor.h"
|
#include "flow/Platform.actor.h"
|
||||||
@ -50,7 +47,6 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "fdbclient/BackupContainer.h"
|
#include "fdbclient/BackupContainer.h"
|
||||||
#include "flow/actorcompiler.h" // has to be last include
|
|
||||||
|
|
||||||
/* BackupContainerFileSystem implements a backup container which stores files in a nested folder structure.
|
/* BackupContainerFileSystem implements a backup container which stores files in a nested folder structure.
|
||||||
* Inheritors must only defined methods for writing, reading, deleting, sizing, and listing files.
|
* Inheritors must only defined methods for writing, reading, deleting, sizing, and listing files.
|
||||||
@ -276,5 +272,4 @@ public:
|
|||||||
VersionProperty logType();
|
VersionProperty logType();
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "flow/unactorcompiler.h"
|
|
||||||
#endif
|
#endif
|
@ -22,7 +22,7 @@
|
|||||||
#define FDBCLIENT_BACKUP_CONTAINER_LOCAL_DIRECTORY_H
|
#define FDBCLIENT_BACKUP_CONTAINER_LOCAL_DIRECTORY_H
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "fdbclient/BackupContainerFileSystem.actor.h"
|
#include "fdbclient/BackupContainerFileSystem.h"
|
||||||
|
|
||||||
class BackupContainerLocalDirectory : public BackupContainerFileSystem,
|
class BackupContainerLocalDirectory : public BackupContainerFileSystem,
|
||||||
ReferenceCounted<BackupContainerLocalDirectory> {
|
ReferenceCounted<BackupContainerLocalDirectory> {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#define FDBCLIENT_BACKUP_CONTAINER_S3_BLOBSTORE_H
|
#define FDBCLIENT_BACKUP_CONTAINER_S3_BLOBSTORE_H
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "fdbclient/BackupContainerFileSystem.actor.h"
|
#include "fdbclient/BackupContainerFileSystem.h"
|
||||||
|
|
||||||
class BackupContainerS3BlobStore final : public BackupContainerFileSystem,
|
class BackupContainerS3BlobStore final : public BackupContainerFileSystem,
|
||||||
ReferenceCounted<BackupContainerS3BlobStore> {
|
ReferenceCounted<BackupContainerS3BlobStore> {
|
||||||
|
@ -11,7 +11,7 @@ set(FDBCLIENT_SRCS
|
|||||||
BackupContainerAzureBlobStore.actor.cpp
|
BackupContainerAzureBlobStore.actor.cpp
|
||||||
BackupContainerAzureBlobStore.h
|
BackupContainerAzureBlobStore.h
|
||||||
BackupContainerFileSystem.actor.cpp
|
BackupContainerFileSystem.actor.cpp
|
||||||
BackupContainerFileSystem.actor.h
|
BackupContainerFileSystem.h
|
||||||
BackupContainerLocalDirectory.actor.cpp
|
BackupContainerLocalDirectory.actor.cpp
|
||||||
BackupContainerLocalDirectory.h
|
BackupContainerLocalDirectory.h
|
||||||
BackupContainerS3BlobStore.actor.cpp
|
BackupContainerS3BlobStore.actor.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user