当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
Cache (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc2.schema
Interface Cache
- All Known Implementing Classes:
- PartitionedTableCache, TableCache
- public interface Cache
- Version:
- $Revision: 1.6.4.2 $
- Author:
- Alexey Loubyansky
NONE
public static final Cache NONE
lock
public void lock()
lock
public void lock(Object key)
unlock
public void unlock()
unlock
public void unlock(Object key)
getFields
public Object[] getFields(Object pk)
getRelations
public Object[] getRelations(Object pk)
put
public void put(Transaction tx,
Object pk,
Object[] fields,
Object[] relations)
remove
public void remove(Transaction tx,
Object pk)
throws Cache.RemoveException
- Throws:
Cache.RemoveException
contains
public boolean contains(Transaction tx,
Object pk)
lockForUpdate
public void lockForUpdate(Transaction tx,
Object pk)
throws Exception
- Throws:
Exception
releaseLock
public void releaseLock(Transaction tx,
Object pk)
throws Exception
- Throws:
Exception
flush
public void flush()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.