-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2878: provide interfaces compatible to 0.7
- Loading branch information
1 parent
0951eba
commit 7d2acdb
Showing
8 changed files
with
88 additions
and
20 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...-factus-redis/src/main/java/org/factcast/factus/redis/AbstractRedisManagedProjection.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,26 @@ | ||
/* | ||
* Copyright © 2017-2022 factcast.org | ||
* | ||
* 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 org.factcast.factus.redis; | ||
|
||
import lombok.NonNull; | ||
import org.redisson.api.RedissonClient; | ||
|
||
public abstract class AbstractRedisManagedProjection extends AbstractRedisProjection | ||
implements RedisManagedProjection { | ||
protected AbstractRedisManagedProjection(@NonNull RedissonClient redisson) { | ||
super(redisson); | ||
Check warning on line 24 in factcast-factus-redis/src/main/java/org/factcast/factus/redis/AbstractRedisManagedProjection.java Codecov / codecov/patchfactcast-factus-redis/src/main/java/org/factcast/factus/redis/AbstractRedisManagedProjection.java#L23-L24
|
||
} | ||
} |
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
27 changes: 27 additions & 0 deletions
27
...ctus-redis/src/main/java/org/factcast/factus/redis/AbstractRedisSubscribedProjection.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,27 @@ | ||
/* | ||
* Copyright © 2017-2022 factcast.org | ||
* | ||
* 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 org.factcast.factus.redis; | ||
|
||
import lombok.NonNull; | ||
import org.factcast.factus.projection.SubscribedProjection; | ||
import org.redisson.api.RedissonClient; | ||
|
||
public abstract class AbstractRedisSubscribedProjection extends AbstractRedisProjection | ||
implements SubscribedProjection { | ||
protected AbstractRedisSubscribedProjection(@NonNull RedissonClient redisson) { | ||
super(redisson); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
factcast-factus-redis/src/main/java/org/factcast/factus/redis/RedisManagedProjection.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,20 @@ | ||
/* | ||
* Copyright © 2017-2022 factcast.org | ||
* | ||
* 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 org.factcast.factus.redis; | ||
|
||
import org.factcast.factus.projection.ManagedProjection; | ||
|
||
public interface RedisManagedProjection extends ManagedProjection, RedisProjection {} |
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