public static class EventingMapBasedStorageService.AddEntryEvent<KeyType,ValueType>
extends org.springframework.context.ApplicationEvent
Modifier and Type | Field and Description |
---|---|
private KeyType |
key
Key to the added item.
|
private String |
partition
Storage partition to which the item was added.
|
private static long |
serialVersionUID
Serial version UID.
|
private StorageService<KeyType,ValueType> |
storageService
Storage service to which the item was added.
|
private ValueType |
value
The added item.
|
source
Constructor and Description |
---|
EventingMapBasedStorageService.AddEntryEvent(StorageService<KeyType,ValueType> storageService,
String partition,
KeyType key,
ValueType value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
KeyType |
getKey()
Gets the key of the added item.
|
String |
getPartition()
Gets the partition to which the entry was added.
|
StorageService<KeyType,ValueType> |
getStorageService()
Gets the storage service to which an item was added.
|
ValueType |
getValue()
Gets the added item.
|
getSource, toString
private static final long serialVersionUID
private StorageService<KeyType,ValueType> storageService
private String partition
private KeyType key
private ValueType value
public EventingMapBasedStorageService.AddEntryEvent(StorageService<KeyType,ValueType> storageService, String partition, KeyType key, ValueType value)
storageService
- storage service to which an item was addedpartition
- partition to which the entry was addedkey
- key of the added itemvalue
- added itempublic StorageService<KeyType,ValueType> getStorageService()
public String getPartition()
public KeyType getKey()
public ValueType getValue()
Copyright © 1999-2012. All Rights Reserved.