org.jboss.proxy.ejb
Class ReadAheadResult
java.lang.Object
org.jboss.proxy.ejb.ReadAheadResult
- All Implemented Interfaces:
- Externalizable, Serializable
public class ReadAheadResult
- extends Object
- implements Externalizable
A result of get-method invocation of CMP 2.0 entity bean in the case where read ahead is turned on.
Usage: on server set main result via setMainResult(java.lang.Object)
and add ahead results via
addAheadResult(java.lang.Object)
. On client get main result via getMainResult()
and
array of ahead results via #getAheadResults()
.
- Version:
- $Revision: 57209 $
- Author:
- Oleg Nitz
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadAheadResult
public ReadAheadResult()
setMainResult
public void setMainResult(Object mainResult)
addAheadResult
public void addAheadResult(Object aheadResult)
getMainResult
public Object getMainResult()
getAheadResult
public Object[] getAheadResult()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.