DATAKV-91 - Add support for sending application events.
We now allow definition of event types to be published via the application context. Original pull request: #5.
This commit is contained in:
committed by
Thomas Darimont
parent
a8a37d4a32
commit
07b3a1547c
@@ -142,6 +142,17 @@ public class MapKeyValueAdapter extends AbstractKeyValueAdapter {
|
||||
getKeySpaceMap(keyspace).clear();
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.keyvalue.core.KeyValueAdapter#hasKeyspace(java.io.Serializable)
|
||||
*/
|
||||
@Override
|
||||
public boolean hasKeyspace(Serializable keyspace) {
|
||||
|
||||
Assert.notNull(keyspace, "Collection must not be null for lookup.");
|
||||
return store.containsKey(keyspace);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.keyvalue.core.KeyValueAdapter#clear()
|
||||
|
||||
Reference in New Issue
Block a user