357358359360361362363364365366
{ Store store = idGenerators.get( clazz ); if ( store == null ) { throw new IdGenerationFailedException( "No IdGenerator for: " + clazz ); } return store.nextId(); }
368369370371372373374375376377
public long getHighestPossibleIdInUse( Class<?> clazz ) { Store store = idGenerators.get( clazz ); if ( store == null ) { throw new IdGenerationFailedException( "No IdGenerator for: " + clazz ); } return store.getHighestPossibleIdInUse(); }
379380381382383384385386387388
public long getNumberOfIdsInUse( Class<?> clazz ) { Store store = idGenerators.get( clazz ); if ( store == null ) { throw new IdGenerationFailedException( "No IdGenerator for: " + clazz ); } return store.getNumberOfIdsInUse(); }