-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7f100e
commit 7dfeaa3
Showing
78 changed files
with
2,823 additions
and
46 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
7 changes: 7 additions & 0 deletions
7
api/src/main/java/org/infinispan/api/common/events/cache/CacheEntryRemovedEvent.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,7 @@ | ||
package org.infinispan.api.common.events.cache; | ||
|
||
/** | ||
* @since 14.0 | ||
**/ | ||
public interface CacheEntryRemovedEvent<K, V> extends CacheEntryEvent<K, V> { | ||
} |
7 changes: 7 additions & 0 deletions
7
api/src/main/java/org/infinispan/api/common/events/cache/CacheEntryUpdatedEvent.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,7 @@ | ||
package org.infinispan.api.common.events.cache; | ||
|
||
/** | ||
* @since 15.0 | ||
**/ | ||
public interface CacheEntryUpdatedEvent<K, V> extends CacheEntryEvent<K, V> { | ||
} |
4 changes: 4 additions & 0 deletions
4
api/src/main/java/org/infinispan/api/common/events/container/Address.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,4 @@ | ||
package org.infinispan.api.common.events.container; | ||
|
||
public interface Address { | ||
} |
2 changes: 1 addition & 1 deletion
2
.../common/events/cache/CacheStartEvent.java → ...mon/events/container/CacheStartEvent.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
2 changes: 1 addition & 1 deletion
2
...i/common/events/cache/CacheStopEvent.java → ...mmon/events/container/CacheStopEvent.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
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
28 changes: 28 additions & 0 deletions
28
api/src/main/java/org/infinispan/api/common/events/container/ViewChangeEvent.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,28 @@ | ||
package org.infinispan.api.common.events.container; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @since 15.0 | ||
**/ | ||
public interface ViewChangeEvent extends ContainerEvent { | ||
/** | ||
* Gets the current list of members. | ||
* | ||
* @return the new view associated with this view change. List cannot be null. | ||
*/ | ||
List<Address> newMembers(); | ||
|
||
/** | ||
* Gets the previous list of members. | ||
* | ||
* @return the old view associated with this view change. List cannot be null. | ||
*/ | ||
List<Address> oldMembers(); | ||
|
||
Address localAddress(); | ||
|
||
int viewId(); | ||
|
||
boolean isMergeView(); | ||
} |
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
8 changes: 8 additions & 0 deletions
8
...main/java/org/infinispan/api/sync/events/container/SyncContainerCacheStartedListener.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,8 @@ | ||
package org.infinispan.api.sync.events.container; | ||
|
||
import org.infinispan.api.common.events.container.CacheStartEvent; | ||
|
||
@FunctionalInterface | ||
public interface SyncContainerCacheStartedListener { | ||
void onCacheStart(CacheStartEvent event); | ||
} |
8 changes: 8 additions & 0 deletions
8
...main/java/org/infinispan/api/sync/events/container/SyncContainerCacheStoppedListener.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,8 @@ | ||
package org.infinispan.api.sync.events.container; | ||
|
||
import org.infinispan.api.common.events.container.CacheStopEvent; | ||
|
||
@FunctionalInterface | ||
public interface SyncContainerCacheStoppedListener { | ||
void onCacheStop(CacheStopEvent event); | ||
} |
8 changes: 8 additions & 0 deletions
8
.../main/java/org/infinispan/api/sync/events/container/SyncContainerViewChangedListener.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,8 @@ | ||
package org.infinispan.api.sync.events.container; | ||
|
||
import org.infinispan.api.common.events.container.ViewChangeEvent; | ||
|
||
@FunctionalInterface | ||
public interface SyncContainerViewChangedListener { | ||
void onViewChanged(ViewChangeEvent event); | ||
} |
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
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 |
---|---|---|
|
@@ -157,4 +157,5 @@ public interface BasicMultimapCache<K, V> { | |
*/ | ||
boolean supportsDuplicates(); | ||
|
||
String getName(); | ||
} |
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.