实现
CloudFileDataStore
-endpoint: String-accessKey: String-secretKey: String
FileNotificationRabbitMQ
-connectionFactory: ConnectionFactory-exchange: String-routingKey: String
1
使用
FileNotificationRocketMQ
-producer: DefaultMQProducer-topic: String
<<interface>>FileInfoStore
<<abstract>>AbstractFileDataStore
#fileEncryptor: FileEncryptor
操作
<<interface>>FileEncryptor
MemoryFileDataStore
继承
<<interface>>FileNotification
<<interface>>FileService
FileInfoDBStore
-dataSource: DataSource
FileServiceImpl
-fileDataStore: FileDataStore-fileInfoStore: FileInfoStore-fileNotification: FileNotification
FileInfo
-id: String-name: String-path: String-size: long-type: String-createTime: Date-updateTime: Date-encrypted: boolean-encryptionAlgorithm: String
+getters()+setters()
FileEncryptorA
-secretKey: String-iv: byte[]
FTPFileDataStore
-host: String-port: int-username: String-password: String
DiskFileDataStore
-basePath: String
FileEncryptorB
-publicKey: PublicKey-privateKey: PrivateKey
FileInfoESStore
-client: RestHighLevelClient-indexName: String
<<interface>>FileDataStore
0..1