Yuta HIGUCHI | 8f18219 | 2014-08-02 18:47:42 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.util.distributed.sharedlog; |
2 | |||||
3 | import com.google.common.annotations.Beta; | ||||
4 | |||||
5 | /** | ||||
6 | * ID object to identify each SharedLogObject. | ||||
7 | * <p/> | ||||
8 | * Class implementing this interface must implement equals and hashCode. | ||||
9 | */ | ||||
10 | @Beta | ||||
11 | public interface SharedLogObjectID { | ||||
12 | |||||
13 | /** | ||||
14 | * String name for SharedLogObject. | ||||
15 | * | ||||
16 | * @return String name for SharedLogObject | ||||
17 | */ | ||||
18 | public String getObjectName(); | ||||
19 | } |