com.cometway.props
Interface PropsPoolInterface


public interface PropsPoolInterface

This interface is for getting and returning a Props from a pool.


Method Summary
 void returnProps(Props Props, java.lang.Object o)
          Returns a Props from the pool based on the specified Object parameter.
 Props takeProps(java.lang.Object o)
          Takes a Props from the pool based on the specified Object parameter.
 

Method Detail

takeProps

Props takeProps(java.lang.Object o)
Takes a Props from the pool based on the specified Object parameter. Passing null *may* return a default value.


returnProps

void returnProps(Props Props,
                 java.lang.Object o)
Returns a Props from the pool based on the specified Object parameter. A Props that is not returned to the pool may never be reused.