/** * Main for testing. * @param args */ public static void main(String[] args) { IOAVState state = OAVStateFactory.createOAVState(null); OAVLongIdGenerator gen = new OAVLongIdGenerator(); for(long i=0;; i++) { Object id = gen.createId(state, null); if(i%1000000==0) System.out.println(i+": "+id); } }
/** * Main for testing. * @param args */ public static void main(String[] args) { IOAVState state = OAVStateFactory.createOAVState(null); OAVLongIdGenerator gen = new OAVLongIdGenerator(); for(long i=0;; i++) { Object id = gen.createId(state, null); if(i%1000000==0) System.out.println(i+": "+id); } }