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.
-
-
Constructor Summary
Constructors Constructor Description UniqueNameAllocator(ServerContext context)
-
-
-
Constructor Detail
-
UniqueNameAllocator
public UniqueNameAllocator(ServerContext context)
-
-
Method Detail
-
getNextName
public String getNextName()
-
-