protected abstract int size();
public synchronized ConsumerStateContext loadState(String stateId) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
{
checkId(stateId);
ConsumerStateContext state = get(stateId);
if (state == null)
{
throw new NoSuchStateException(stateId);
}
return state;