⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 indexmanager.java

📁 这个weblogging 设计得比较精巧
💻 JAVA
字号:
package org.roller.model;import org.roller.RollerException;import org.roller.business.search.operations.IndexOperation;import org.roller.pojos.UserData;import org.roller.pojos.WeblogEntryData;/** * Interface to Roller's Lucene-based search facility. * @author Dave Johnson */public interface IndexManager{    /** Does index need to be rebuild */    public abstract boolean isInconsistentAtStartup();        /** Rebuild index, returns immediately and operates in background */    public void rebuildUserIndex() throws RollerException;        /** Remove user from index, returns immediately and operates in background */    public void removeUserIndex(UserData user) throws RollerException;        /** Remove entry from index, returns immediately and operates in background */    public void removeEntryIndexOperation(WeblogEntryData entry) throws RollerException;        /** Add entry to index, returns immediately and operates in background */    public void addEntryIndexOperation(WeblogEntryData entry) throws RollerException;        /** R-index entry, returns immediately and operates in background */    public void addEntryReIndexOperation(WeblogEntryData entry) throws RollerException;        /** Execute operation immediately */    public abstract void executeIndexOperationNow(final IndexOperation op);        /**     * Release all resources associated with Roller session.     */    public abstract void release();        /** Shutdown to be called on application shutdown */    public abstract void shutdown();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -