case JournalStorageManager.QUEUE_BINDING_RECORD:
return newBindingEncoding(id, buffer);
case JournalStorageManager.ID_COUNTER_RECORD:
EncodingSupport idReturn = new IDCounterEncoding();
idReturn.decode(buffer);
return idReturn;
case JournalStorageManager.GROUP_RECORD:
return newGroupEncoding(id, buffer);