storage/Interface: add virtual method OpenFile()
This should replace most InputStream::Open() calls because it is a chance to reuse existing resources (e.g. the NFS connection). No such optimization is implemented, currently (and the method is not yet used by anybody).
This commit is contained in:

committed by
Max Kellermann

parent
2576e66a55
commit
f578a1cb2b
@@ -214,6 +214,7 @@ if enable_database
|
||||
executable(
|
||||
'run_storage',
|
||||
'run_storage.cxx',
|
||||
'../src/TagSave.cxx',
|
||||
include_directories: inc,
|
||||
dependencies: [
|
||||
event_dep,
|
||||
|
Reference in New Issue
Block a user