i_mapentry.java
来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 45 行
JAVA
45 行
/*------------------------------------------------------------------------------Name: I_MapEntry.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.engine.msgstore;import org.xmlBlaster.util.queue.I_Entry;import org.xmlBlaster.util.Timestamp;public interface I_MapEntry extends I_Entry, java.io.Serializable{ /** * The cache sets it to true when the entry is swapped * away. * You should not write on a swapped away entry as those * changes are lost. * For 'ram' or 'jdbc' implementation this flag is not used * and remains the initial value (set it to false in your implementation * of I_MapEntry). */ boolean isSwapped(); /** * Used by the cache implementation to mark entries which will * be swapped to the persistent store. */ void isSwapped(boolean isSwapped); /** * @return The unique ID as a string (cached for performance) */ String getUniqueIdStr(); /** * Can be used by cache implementation to implement LRU */ Timestamp getSortTimestamp(); /** * Can be used by cache implementation to implement LRU */ void setSortTimestamp(Timestamp timstamp);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?