com.atlassian.cache
Interface CachedReferenceEvent<V>

All Known Implementing Classes:
DefaultCachedReferenceEvent

@PublicApi
public interface CachedReferenceEvent<V>

A resettable reference event.

NOTE: Although Cache Reference does not support null as a valid value we are using it in getValue as a way to represent missing value. We have the following reasons for this:

Since:
2.4

Method Summary
 V getValue()
          Returns cached reference value
 

Method Detail

getValue

@Nullable
V getValue()
Returns cached reference value

Returns:
the value. For details why is this method marked as Nullable please refer to the class level documentation


Copyright © 2015 Atlassian. All rights reserved.