Skip to content

Commit

Permalink
Implement abstract methods of Repository (#1111)
Browse files Browse the repository at this point in the history
* Implement methods

Signed-off-by: monusingh-1 <[email protected]>

* Implement methods

Signed-off-by: monusingh-1 <[email protected]>

---------

Signed-off-by: monusingh-1 <[email protected]>
(cherry picked from commit b6d1b56)
  • Loading branch information
monusingh-1 authored and github-actions[bot] committed Sep 1, 2023
1 parent 22f41f9 commit f0d9d60
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ class RemoteClusterRepository(private val repositoryMetadata: RepositoryMetadata
return restoreRateLimitingTimeInNanos.count()
}

override fun getRemoteUploadThrottleTimeInNanos(): Long {
throw UnsupportedOperationException("Operation not permitted")
}

override fun getRemoteDownloadThrottleTimeInNanos(): Long {
throw UnsupportedOperationException("Operation not permitted")
}

override fun finalizeSnapshot(shardGenerations: ShardGenerations?, repositoryStateId: Long, clusterMetadata: Metadata?,
snapshotInfo: SnapshotInfo?, repositoryMetaVersion: Version?,
stateTransformer: Function<ClusterState, ClusterState>?,
Expand Down

0 comments on commit f0d9d60

Please sign in to comment.