|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
NodeLoadedEvent.java | - | - | - | - |
|
1 | package org.jboss.cache.notifications.event; | |
2 | ||
3 | import java.util.Map; | |
4 | ||
5 | /** | |
6 | * This event is passed in to any method annotated with {@link org.jboss.cache.notifications.annotation.NodeLoaded}. | |
7 | * | |
8 | * @author <a href="mailto:manik@jboss.org">Manik Surtani</a> | |
9 | * @since 2.0.0 | |
10 | */ | |
11 | public interface NodeLoadedEvent extends NodeEvent | |
12 | { | |
13 | /** | |
14 | * @return an unmodifiable {@link Map} of data loaded from a cache loader and into the cache. If the | |
15 | * {@link org.jboss.cache.Node} is loaded but the data isn't (for example when calling {@link org.jboss.cache.Node#getChildren()}) | |
16 | * this method returns <tt>null</tt>. | |
17 | */ | |
18 | Map getData(); | |
19 | } |
|