}
}
private DatagramSessionImpl getRecycledSession( IoSession session )
{
IoSessionRecycler sessionRecycler = getSessionRecycler( session );
DatagramSessionImpl replaceSession = null;
if ( sessionRecycler != null )
{
synchronized ( sessionRecycler )
{
replaceSession = ( DatagramSessionImpl ) sessionRecycler.recycle( session.getLocalAddress(), session
.getRemoteAddress() );
if ( replaceSession != null )
{
return replaceSession;
}
sessionRecycler.put( session );
}
}
return null;
}