|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.benerator.wrapper.SynchronizedGeneratorProxy<E>
public class SynchronizedGeneratorProxy<E>
Synchronized wrapper class for non-thread-safe Generator implementations.
Created: 24.02.2010 23:08:39
| Method Summary | |
|---|---|
void |
close()
Closes the generator. |
E |
generate()
Returns an instance of the generic type E. |
java.lang.Class<E> |
getGeneratedType()
Declares the type of the objects returned by the generate() method. |
void |
init(GeneratorContext context)
|
boolean |
isParallelizable()
|
boolean |
isThreadSafe()
|
void |
reset()
|
boolean |
wasInitialized()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void init(GeneratorContext context)
init in interface Generator<E>public boolean wasInitialized()
wasInitialized in interface Generator<E>public java.lang.Class<E> getGeneratedType()
Generator
getGeneratedType in interface Generator<E>public E generate()
Generator
generate in interface Generator<E>public void reset()
reset in interface org.databene.commons.Resettablepublic void close()
Generator
close in interface java.io.Closeableclose in interface Generator<E>public boolean isThreadSafe()
isThreadSafe in interface org.databene.commons.ThreadAwarepublic boolean isParallelizable()
isParallelizable in interface org.databene.commons.ThreadAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||