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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLastId()
int
getLastId(String topic)
int
getNextId()
int
getNextId(String topic)
void
readExternal(ObjectInput in)
void
releaseId(NetworkNode node)
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getNextId
public int getNextId()
-
getNextId
public int getNextId(String topic)
-
releaseId
public void releaseId(NetworkNode node)
-
getLastId
public int getLastId()
-
getLastId
public int getLastId(String topic)
-
-