// initialize some random albums at the first the resource class is loaded
for (int i = 0; i < numInitAlbums; i++)
{
final long id = _currId.incrementAndGet();
final long date = r.nextInt(Integer.MAX_VALUE);
final Album album = new Album()
.setId(id)
.setUrn(String.valueOf(id))
.setTitle("Awesome Album #" + id)
.setCreationTime(date);
_data.put(album.getId(), album);
}
}