Skip to content

Commit

Permalink
Implement abstract methods
Browse files Browse the repository at this point in the history
Signed-off-by: monusingh-1 <[email protected]>
  • Loading branch information
monusingh-1 committed Sep 7, 2023
1 parent 9750b78 commit 9ef2f4a
Showing 1 changed file with 12 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 Expand Up @@ -351,6 +359,10 @@ class RemoteClusterRepository(private val repositoryMetadata: RepositoryMetadata
return true
}

override fun isSystemRepository(): Boolean {
throw UnsupportedOperationException("Operation not permitted")
}


/*
* This method makes a blocking call to the leader cluster
Expand Down

0 comments on commit 9ef2f4a

Please sign in to comment.