1 14 15 package org.apache.activemq.store.kahadaptor; 16 17 import org.apache.activemq.kaha.StoreEntry; 18 19 24 public class TopicSubAck{ 25 26 private int count =0; 27 private StoreEntry messageEntry; 28 29 32 public int getCount(){ 33 return this.count; 34 } 35 36 39 public void setCount(int count){ 40 this.count=count; 41 } 42 43 46 public int decrementCount() { 47 return --count; 48 } 49 50 53 public int incrementCount() { 54 return ++count; 55 } 56 57 58 61 public StoreEntry getMessageEntry(){ 62 return this.messageEntry; 63 } 64 65 66 69 public void setMessageEntry(StoreEntry storeEntry){ 70 this.messageEntry=storeEntry; 71 } 72 73 74 } 75 | Popular Tags |