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]>
  • Loading branch information
monusingh-1 authored Sep 1, 2023
1 parent f00ac43 commit b6d1b56
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 b6d1b56

Please sign in to comment.