/* *************************************************************************************** * Copyright (C) 2006 EsperTech, Inc. All rights reserved. * * http://www.espertech.com/esper * * http://www.espertech.com * * ---------------------------------------------------------------------------------- * * The software in this package is published under the terms of the GPL license * * a copy of which has been included with this distribution in the license.txt file. * *************************************************************************************** */ package com.espertech.esper.core.service; public interface StatementAgentInstanceLock { /** * Acquire text. */ public final static String ACQUIRE_TEXT = "Acquire "; /** * Acquired text. */ public final static String ACQUIRED_TEXT = "Got "; /** * Release text. */ public final static String RELEASE_TEXT = "Release "; /** * Released text. */ public final static String RELEASED_TEXT = "Freed "; public void acquireWriteLock(); public boolean acquireWriteLock(long msecTimeout); public void releaseWriteLock(); public void acquireReadLock(); public void releaseReadLock(); }