add makefile
[iotcloud.git] / src / java / iotcloud / Entry.java
index 157a09b9412b45009b0cdc6dfe8a7917da730053..881e5cea22969c3681e38b3ffbaa3d148cf51fb2 100644 (file)
@@ -1,7 +1,7 @@
 package iotcloud;
 import java.nio.ByteBuffer;
 
-abstract class Entry {
+abstract class Entry implements Liveness {
        static final byte TypeKeyValue = 1;
        static final byte TypeLastMessage = 2;
        static final byte TypeRejectedMessage = 3;
@@ -33,7 +33,7 @@ abstract class Entry {
                return islive;
        }
 
-       void setDead() {
+       void decrementLiveCount() {
                islive = false;
                parentslot.decrementLiveCount();
        }