protected static class MetadataService.RegisterScaleOutIndexTask extends AbstractTask
AbstractTask.DelegateTask<T>, AbstractTask.InnerReadWriteTxServiceCallable<T>, AbstractTask.InnerWriteServiceCallable<T>, AbstractTask.ResubmitException
checkpointNanoTime, concurrencyManager, isReadWriteTx, log, nanoTime_assignedWorker, nanoTime_beginWork, nanoTime_finishedWork, nanoTime_submitTask, readOnly, resourceManager, taskCounters, timestamp, transactionManager, tx
Constructor and Description |
---|
MetadataService.RegisterScaleOutIndexTask(IBigdataFederation fed,
ConcurrencyManager concurrencyManager,
IResourceManager resourceManager,
String metadataIndexName,
IndexMetadata metadata,
byte[][] separatorKeys,
UUID[] dataServiceUUIDs)
Create and statically partition a scale-out index.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
doTask()
Create and statically partition the scale-out index.
|
assertResource, assertRunning, assertUnisolated, call, clearLoggingContext, dropIndex, getCommitTime, getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, getTaskName, getTimestamp, isResource, registerIndex, setupLoggingContext, toString
public MetadataService.RegisterScaleOutIndexTask(IBigdataFederation fed, ConcurrencyManager concurrencyManager, IResourceManager resourceManager, String metadataIndexName, IndexMetadata metadata, byte[][] separatorKeys, UUID[] dataServiceUUIDs)
metadataIndexName
- The name of the metadata index (the resource on which the
task must have a lock).separatorKeys
- The array of separator keys. Each separator key is
interpreted as an unsigned byte[]. The first
entry MUST be an empty byte[]. The entries MUST be in
sorted order.dataServiceUUIDs
- The array of data services onto which each partition
defined by a separator key will be mapped (optional). The
#of entries in this array MUST agree with the #of entries
in the separatorKeys array. When null
,
the index paritions will be auto-assigned to data
services.protected Object doTask() throws Exception
doTask
in class AbstractTask
Exception
- The exception that will be thrown by AbstractTask.call()
iff the
operation fails.InterruptedException
- This exception SHOULD be thrown if
Thread.interrupted()
becomes true during
execution.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.