当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
ListCacheKey (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb
Class ListCacheKey
java.lang.Object
org.jboss.ejb.CacheKey
org.jboss.ejb.ListCacheKey
- All Implemented Interfaces:
- Externalizable, Serializable
- public final class ListCacheKey
- extends CacheKey
ListCacheKey extends CacheKey
and holds info about the List that the entity belongs to,
it is used with CMP 2.0 for reading ahead.
- Version:
- $Revision: 1.4 $
- Author:
- Oleg Nitz
- See Also:
- Serialized Form
ListCacheKey
public ListCacheKey()
ListCacheKey
public ListCacheKey(Object id,
long listId,
int index)
- Parameters:
listId
- The list id.index
- The index of this entity in the list.
getListId
public long getListId()
getIndex
public int getIndex()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class CacheKey
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class CacheKey
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.