1 package com.atlassian.cache.impl;
2
3 import com.atlassian.cache.CachedReferenceEvent;
4
5 /**
6 * A default implementation for {@code CachedReferenceEvent}
7 */
8 public class DefaultCachedReferenceEvent<V> implements CachedReferenceEvent<V>
9 {
10 private final V value;
11
12 public DefaultCachedReferenceEvent(V value)
13 {
14 this.value = value;
15 }
16
17 @Override
18 public V getValue()
19 {
20 return value;
21 }
22 }