Class UniqueNameAllocator
- java.lang.Object
-
- org.apache.accumulo.server.tablets.UniqueNameAllocator
-
public class UniqueNameAllocator extends Object
Allocates unique names for an accumulo instance. The names are unique for the lifetime of the instance. This is useful for filenames because it makes caching easy.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UniqueNameAllocator
getInstance()
String
getNextName()
-
-
-
Method Detail
-
getNextName
public String getNextName()
-
getInstance
public static UniqueNameAllocator getInstance()
-
-