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.AutoCloseableLabeling 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 voidclose()RepositorygetRepository()Retrieve repository associated with the operator.voidreload()Reload the operator afterRepositoryhas been changed.
-
-
-
Method Detail
-
close
void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
reload
void reload()
Reload the operator afterRepositoryhas 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:
Repositoryassociated with the operator
-
-