Package org.drools.core.reteoo
Class ReteooBuilder.IdGenerator
- java.lang.Object
-
- org.drools.core.reteoo.ReteooBuilder.IdGenerator
-
- All Implemented Interfaces:
Externalizable,Serializable
- Enclosing class:
- ReteooBuilder
public static class ReteooBuilder.IdGenerator extends Object implements Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdGenerator()IdGenerator(int firstId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLastId()intgetNextId()voidreadExternal(ObjectInput in)voidreleaseId(int id)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getNextId
public int getNextId()
-
releaseId
public void releaseId(int id)
-
getLastId
public int getLastId()
-
-