Here you can find the source of getTempPersistFileName(String baseFileName)
public static String getTempPersistFileName(String baseFileName)
//package com.java2s; //License from project: Open Source License import java.util.concurrent.ThreadLocalRandom; public class Main { public static String getTempPersistFileName(String baseFileName) { return baseFileName + "." + ThreadLocalRandom.current().nextLong(Long.MAX_VALUE); }//w ww . ja v a 2 s. c o m }