Package dev.vality.damsel.domain_config
Interface RepositorySrv.Iface
- All Known Implementing Classes:
RepositorySrv.Client
- Enclosing class:
- RepositorySrv
public static interface RepositorySrv.Iface
-
Method Summary
Modifier and Type Method Description Snapshotcheckout(Reference reference)Получить снэпшот конкретной версииlongcommit(long version, Commit commit)Применить изменения к определенной версии.Map<Long,Commit>pull(long version)Map<Long,Commit>pullRange(long after, int limit)Получить новые коммиты следующие за указанной версией
-
Method Details
-
commit
long commit(long version, Commit commit) throws VersionNotFound, OperationConflict, OperationInvalid, ObsoleteCommitVersion, org.apache.thrift.TExceptionПрименить изменения к определенной версии. Возвращает следующую версию- Parameters:
version-commit-- Throws:
VersionNotFoundOperationConflictOperationInvalidObsoleteCommitVersionorg.apache.thrift.TException
-
checkout
Получить снэпшот конкретной версии- Parameters:
reference-- Throws:
VersionNotFoundorg.apache.thrift.TException
-
pullRange
Map<Long,Commit> pullRange(long after, int limit) throws VersionNotFound, org.apache.thrift.TExceptionПолучить новые коммиты следующие за указанной версией- Parameters:
after-limit-- Throws:
VersionNotFoundorg.apache.thrift.TException
-
pull
- Throws:
VersionNotFoundorg.apache.thrift.TException
-