JADE v6.1

com.dautelle.realtime
Class RealtimeObject.Factory

java.lang.Object
  extended bycom.dautelle.realtime.ObjectFactory
      extended bycom.dautelle.realtime.RealtimeObject.Factory
Enclosing class:
RealtimeObject

protected abstract static class RealtimeObject.Factory
extends ObjectFactory

This abstract class represents the factory responsible for the creation of RealtimeObject instances.


Field Summary
 
Fields inherited from class com.dautelle.realtime.ObjectFactory
MAX
 
Constructor Summary
protected RealtimeObject.Factory()
          Default constructor.
 
Method Summary
protected  ObjectPool newPool()
          Creates a new pool for this object factory.
 java.lang.Object object()
          Returns a new or recycled object from this factory.
 
Methods inherited from class com.dautelle.realtime.ObjectFactory
cleanup, create, currentPool, heapPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealtimeObject.Factory

protected RealtimeObject.Factory()
Default constructor.

Method Detail

object

public final java.lang.Object object()
Returns a new or recycled object from this factory.

Overrides:
object in class ObjectFactory
Returns:
an object from the local stack or from the heap if not executing in a pool context.

newPool

protected ObjectPool newPool()
Description copied from class: ObjectFactory
Creates a new pool for this object factory. Sub-classes may override this method in order to use custom pools.

Overrides:
newPool in class ObjectFactory
Returns:
a default implementation for ObjectPool.

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.