org.drools.concurrent
Class RetractObject

java.lang.Object
  extended by org.drools.concurrent.RetractObject
All Implemented Interfaces:
Externalizable, Serializable, Command, Future

public class RetractObject
extends Object
implements Command, Future

See Also:
Serialized Form

Constructor Summary
RetractObject()
           
RetractObject(FactHandle factHandle)
           
 
Method Summary
 boolean exceptionThrown()
           
 void execute(WorkingMemory workingMemory)
           
 Exception getException()
           
 Object getObject()
           
 boolean isDone()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetractObject

public RetractObject()

RetractObject

public RetractObject(FactHandle factHandle)
Method Detail

execute

public void execute(WorkingMemory workingMemory)
Specified by:
execute in interface Command

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getObject

public Object getObject()
Specified by:
getObject in interface Future

isDone

public boolean isDone()
Specified by:
isDone in interface Future

exceptionThrown

public boolean exceptionThrown()
Specified by:
exceptionThrown in interface Future

getException

public Exception getException()
Specified by:
getException in interface Future


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.