Java ThreadLocalRandom getTempPersistFileName(String baseFileName)

Here you can find the source of getTempPersistFileName(String baseFileName)

Description

get Temp Persist File Name

License

Open Source License

Declaration

public static String getTempPersistFileName(String baseFileName) 

Method Source Code

//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
}

Related

  1. getRandomPassword()
  2. getRandomStr(int len)
  3. getRandomString(int length)
  4. getRandomTarget(List targets)
  5. getRandomValue(String prefix, long maxValue)
  6. getThreadLocalRandom()
  7. isRandomOccurrence(int pcLikelihood)
  8. moveInRadius(double[] position, double radius)
  9. parseSeed(String seedString)