public class BucketId extends Object
BucketStore
.Constructor and Description |
---|
BucketId()
Default constructor.
|
BucketId(int bucketNumber,
int appId)
Creates a bucket ID from the bucket number and app ID parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getAppId()
Returns the application ID for this bucket
|
int |
getBucketNumber()
Gets the associated bucket number.
|
UUID |
getId()
Gets the associated bucket UUID.
|
boolean |
isDummyId()
Returns
true if this object is a placeholder and does not represent a real bucket ID. |
String |
toString() |
public BucketId(int bucketNumber, int appId)
bucketNumber
- bucket numberappId
- the application identifierpublic BucketId()
public int getBucketNumber()
public UUID getId()
public boolean isDummyId()
true
if this object is a placeholder and does not represent a real bucket ID.true
if it is a dummy idpublic int getAppId()
Copyright (C) 2007-2014 ScaleOut Software, Inc.