org.apache.accumulo.server.tabletserver
Class UniqueNameAllocator

java.lang.Object
  extended by 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.


Method Summary
static UniqueNameAllocator getInstance()
           
 String getNextName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNextName

public String getNextName()

getInstance

public static UniqueNameAllocator getInstance()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.