org.apache.accumulo.server.tabletserver
Class UniqueNameAllocator
java.lang.Object
org.apache.accumulo.server.tabletserver.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getNextName
public String getNextName()
getInstance
public static UniqueNameAllocator getInstance()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.