Package cz.o2.proxima.core.repository
Interface DataOperator
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BeamDataOperator
,DirectDataOperator
public interface DataOperator extends java.lang.AutoCloseable
Labeling interface for Repository implementations to be able to mark their respective operators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Repository
getRepository()
Retrieve repository associated with the operator.void
reload()
Reload the operator afterRepository
has been changed.
-
-
-
Method Detail
-
close
void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
reload
void reload()
Reload the operator afterRepository
has been changed.This method is called automatically, when
ConfigRepository.reloadConfig(boolean, cz.o2.proxima.typesafe.config.Config)
is called.
-
getRepository
Repository getRepository()
Retrieve repository associated with the operator.- Returns:
Repository
associated with the operator
-
-