站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ReadAheadResult (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.proxy.ejb
Class ReadAheadResult

java.lang.Object
  extended byorg.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: 1.2 $
Author:
Oleg Nitz
See Also:
Serialized Form

Constructor Summary
ReadAheadResult()
           
 
Method Summary
 void addAheadResult(Object aheadResult)
           
 Object[] getAheadResult()
           
 Object getMainResult()
           
 void readExternal(ObjectInput in)
           
 void setMainResult(Object mainResult)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadAheadResult

public ReadAheadResult()
Method Detail

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.