com.bigdata.resources
Interface IPartitionIdFactory

All Known Implementing Classes:
ResourceManager

public interface IPartitionIdFactory

An interface which shields callers from handling RMI exceptions and which allows the use of mock implementations when you do not really want to assign partition identifiers using the IMetadataService.nextPartitionId(String).

Version:
$Id: IPartitionIdFactory.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
IMetadataService.nextPartitionId(String)

Method Summary
 int nextPartitionId(String scaleOutIndexName)
          Return the next index partition identifier for the given scale-out index.
 

Method Detail

nextPartitionId

int nextPartitionId(String scaleOutIndexName)
Return the next index partition identifier for the given scale-out index.

Parameters:
scaleOutIndexName - The name of the scale-out index.
Returns:
The next partition identifier for that scale-out index.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.