-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement RepairScheduler, Schedule Manager and Related Things (#742)
* Introduce RepairScheduler and SchedulerManager with Incremental Repair * Fix PMD Violations and Rebase Change * Removing test that requires lock to pass * Fix Review Comments
- Loading branch information
1 parent
56dd30a
commit 1122325
Showing
76 changed files
with
7,769 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...va/com/ericsson/bss/cassandra/ecchronos/application/config/runpolicy/RunPolicyConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright 2024 Telefonaktiebolaget LM Ericsson | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ericsson.bss.cassandra.ecchronos.application.config.runpolicy; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class RunPolicyConfig | ||
{ | ||
private TimeBasedConfig myTimeBasedConfig = new TimeBasedConfig(); | ||
|
||
@JsonProperty("time_based") | ||
public final TimeBasedConfig getTimeBasedConfig() | ||
{ | ||
return myTimeBasedConfig; | ||
} | ||
|
||
@JsonProperty("time_based") | ||
public final void setTimeBasedConfig(final TimeBasedConfig timeBasedConfig) | ||
{ | ||
myTimeBasedConfig = timeBasedConfig; | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...va/com/ericsson/bss/cassandra/ecchronos/application/config/runpolicy/TimeBasedConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright 2024 Telefonaktiebolaget LM Ericsson | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ericsson.bss.cassandra.ecchronos.application.config.runpolicy; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class TimeBasedConfig | ||
{ | ||
private String myKeyspaceName = "ecchronos"; | ||
|
||
@JsonProperty("keyspace") | ||
public final String getKeyspaceName() | ||
{ | ||
return myKeyspaceName; | ||
} | ||
|
||
@JsonProperty("keyspace") | ||
public final void setKeyspaceName(final String keyspaceName) | ||
{ | ||
myKeyspaceName = keyspaceName; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
.../java/com/ericsson/bss/cassandra/ecchronos/application/config/runpolicy/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright 2024 Telefonaktiebolaget LM Ericsson | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
/** | ||
* Contains configurations related to run policy. | ||
*/ | ||
package com.ericsson.bss.cassandra.ecchronos.application.config.runpolicy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.