Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractFileStore - Class in com.staros.filestore
 
AbstractFileStore(String, String) - Constructor for class com.staros.filestore.AbstractFileStore
 
AbstractFileStore(FileStoreInfo) - Constructor for class com.staros.filestore.AbstractFileStore
 
AbstractServer - Class in com.staros.util
Take cares of start()/stop() interface with Atomic variables to avoid repeatedly start/stop.
AbstractServer() - Constructor for class com.staros.util.AbstractServer
 
AbstractShardPlacementPolicy - Class in com.staros.shard.policy
 
AbstractShardPlacementPolicy(PlacementPolicy) - Constructor for class com.staros.shard.policy.AbstractShardPlacementPolicy
 
addFileStore(FileStore) - Method in class com.staros.filestore.FileStoreMgr
 
addFileStore(String, FileStoreInfo) - Method in class com.staros.manager.StarManager
 
addFileStore(AddFileStoreRequest, StreamObserver<AddFileStoreResponse>) - Method in class com.staros.manager.StarManagerService
 
addFileStoresFromConfig() - Method in class com.staros.filestore.FileStoreMgr
 
addNode(AddResourceNodeRequest, StreamObserver<AddResourceNodeResponse>) - Method in class com.staros.provisioner.StarProvisionManageService
 
addReplica(long, long, long) - Method in class com.staros.schedule.ReplicaWorkerInvertIndex
 
addReplica(long) - Method in class com.staros.shard.Shard
 
addReplicas(WorkerManager, Shard) - Method in class com.staros.schedule.ReplicaWorkerInvertIndex
 
addShard(AddShardRequest) - Method in class com.staros.starlet.MockStarletAgent
 
addShard(AddShardRequest) - Method in class com.staros.starlet.StarletAgent
 
addShard(AddShardRequest) - Method in class com.staros.worker.Worker
 
addShardId(long) - Method in class com.staros.shard.ShardGroup
 
addShardReplicas(List<Long>, long) - Method in class com.staros.shard.ShardManager
 
addWorker(String, long, String) - Method in class com.staros.manager.StarManager
 
addWorker(AddWorkerRequest, StreamObserver<AddWorkerResponse>) - Method in class com.staros.manager.StarManagerService
 
addWorker(Worker) - Method in class com.staros.worker.WorkerGroup
 
addWorker(String, long, String) - Method in class com.staros.worker.WorkerManager
Add a worker for worker group in service
addWorkers(String, long, List<String>) - Method in class com.staros.worker.WorkerManager
 
adjustFixedThreadPoolExecutors(ThreadPoolExecutor, int) - Static method in class com.staros.util.Utils
 
allocateFilePath(String, FileStoreType, String, String) - Method in class com.staros.manager.StarManager
 
allocateFilePath(AllocateFilePathRequest, StreamObserver<AllocateFilePathResponse>) - Method in class com.staros.manager.StarManagerService
 
allocFileStore(String) - Method in class com.staros.filestore.FileStoreMgr
 
alterResourceSpec(String, long, WorkerGroupSpec) - Method in class com.staros.worker.DefaultResourceManager
 
alterResourceSpec(String, long, WorkerGroupSpec) - Method in class com.staros.worker.DummyResourceManager
 
alterResourceSpec(String, long, WorkerGroupSpec) - Method in interface com.staros.worker.ResourceManager
 
apply(WorkerManager) - Method in class com.staros.schedule.ScheduleScorer
Allow query worker manager about the worker info and change the score accordingly.
apply(PlacementPolicy, Collection<Long>) - Method in class com.staros.schedule.ScheduleScorer
 
ASSUME_ROLE_CREDENTIAL_ARN - Static variable in class com.staros.util.Config
 
ASSUME_ROLE_CREDENTIAL_EXTERNAL_ID - Static variable in class com.staros.util.Config
 
AWS_CREDENTIAL_TYPE - Static variable in class com.staros.util.Config
credential type for aws resource access it can be one of 'default','simple','instance_profile' and 'assume_role' nothing needed if 'default' or 'instance_profile' is set ak/sk pair should be provided for 'simple' iam_role_arn and external_id should be provided for 'assume_role' default value is 'simple'
AwsAssumeIamRoleCredential - Class in com.staros.credential
 
AwsAssumeIamRoleCredential(String, String) - Constructor for class com.staros.credential.AwsAssumeIamRoleCredential
 
AwsCredential - Interface in com.staros.credential
 
AwsCredentialMgr - Class in com.staros.credential
 
AwsCredentialMgr() - Constructor for class com.staros.credential.AwsCredentialMgr
 
AwsDefaultCredential - Class in com.staros.credential
 
AwsDefaultCredential() - Constructor for class com.staros.credential.AwsDefaultCredential
 
AwsInstanceProfileCredential - Class in com.staros.credential
 
AwsInstanceProfileCredential() - Constructor for class com.staros.credential.AwsInstanceProfileCredential
 
AwsSimpleCredential - Class in com.staros.credential
 
AwsSimpleCredential(String, String) - Constructor for class com.staros.credential.AwsSimpleCredential
 
AwsSimpleCredential(String, String, boolean) - Constructor for class com.staros.credential.AwsSimpleCredential
 
AzBlobCredential - Class in com.staros.credential
 
AzBlobCredential(String, String, String, String, String, String, String) - Constructor for class com.staros.credential.AzBlobCredential
 
AzBlobFileStore - Class in com.staros.filestore
 
AzBlobFileStore(FileStoreInfo, String, AzBlobCredential) - Constructor for class com.staros.filestore.AzBlobFileStore
 
AzBlobFileStore(String, String, String, String, AzBlobCredential) - Constructor for class com.staros.filestore.AzBlobFileStore
 
AZURE_BLOB_AUTHORITY_HOST - Static variable in class com.staros.util.Config
 
AZURE_BLOB_CLIENT_CERTIFICATE_PATH - Static variable in class com.staros.util.Config
 
AZURE_BLOB_CLIENT_ID - Static variable in class com.staros.util.Config
 
AZURE_BLOB_CLIENT_SECRET - Static variable in class com.staros.util.Config
 
AZURE_BLOB_ENDPOINT - Static variable in class com.staros.util.Config
 
AZURE_BLOB_FSKEY_FOR_CONFIG - Static variable in class com.staros.util.Constant
 
AZURE_BLOB_FSNAME_FOR_CONFIG - Static variable in class com.staros.util.Constant
 
AZURE_BLOB_PATH - Static variable in class com.staros.util.Config
 
AZURE_BLOB_SAS_TOKEN - Static variable in class com.staros.util.Config
 
AZURE_BLOB_SHARED_KEY - Static variable in class com.staros.util.Config
 
AZURE_BLOB_TENANT_ID - Static variable in class com.staros.util.Config
 
AZURE_PREFIX - Static variable in class com.staros.util.Constant
 

B

BATCH_ID_INTERVAL - Static variable in class com.staros.util.IdGenerator
 
batchAddShardId(List<Long>) - Method in class com.staros.shard.ShardGroup
 
becomeFollower() - Method in class com.staros.manager.StarManager
 
becomeLeader() - Method in class com.staros.manager.StarManager
 
blockUntilShutdown() - Method in class com.staros.manager.StarManagerServer
 
blockUntilStart() - Method in class com.staros.manager.StarManagerServer
 
bootstrapService(String, String) - Method in class com.staros.manager.StarManager
 
bootstrapService(BootstrapServiceRequest, StreamObserver<BootstrapServiceResponse>) - Method in class com.staros.manager.StarManagerService
 
bootstrapService(String, String) - Method in class com.staros.service.ServiceManager
Bootstrap a service
bootstrapService(String) - Method in class com.staros.worker.WorkerManager
 
buildFrom(WorkerManager, ShardManager, ShardGroup) - Method in class com.staros.schedule.ReplicaWorkerInvertIndex
 
BUILTIN_PROVISION_SERVER_DATA_DIR - Static variable in class com.staros.util.Config
data directory for builtin provision server, if empty, builtin provision server will not persist its data.

C

checkAndUpdateShard(String, long, List<ShardReportInfo>) - Method in class com.staros.shard.ShardChecker
 
clear() - Method in class com.staros.filestore.FileStoreMgr
 
clear() - Method in class com.staros.provisioner.StarProvisionServer
 
com.staros.credential - package com.staros.credential
 
com.staros.exception - package com.staros.exception
 
com.staros.filecache - package com.staros.filecache
 
com.staros.filestore - package com.staros.filestore
 
com.staros.heartbeat - package com.staros.heartbeat
 
com.staros.journal - package com.staros.journal
 
com.staros.manager - package com.staros.manager
 
com.staros.provisioner - package com.staros.provisioner
 
com.staros.replica - package com.staros.replica
 
com.staros.schedule - package com.staros.schedule
 
com.staros.schedule.select - package com.staros.schedule.select
 
com.staros.service - package com.staros.service
 
com.staros.shard - package com.staros.shard
 
com.staros.shard.policy - package com.staros.shard.policy
 
com.staros.starlet - package com.staros.starlet
 
com.staros.tools - package com.staros.tools
 
com.staros.util - package com.staros.util
 
com.staros.worker - package com.staros.worker
 
comment - Variable in class com.staros.filestore.AbstractFileStore
 
Config - Class in com.staros.util
 
Config() - Constructor for class com.staros.util.Config
 
Constant - Class in com.staros.util
 
Constant() - Constructor for class com.staros.util.Constant
 
createEmptyResponse(AsciiString, HttpResponseStatus) - Static method in class com.staros.manager.HttpService
 
createFileStoreMgrForTest(String) - Static method in class com.staros.filestore.FileStoreMgr
 
createMetaGroup(String, CreateMetaGroupInfo) - Method in class com.staros.manager.StarManager
 
createMetaGroup(CreateMetaGroupRequest, StreamObserver<CreateMetaGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
createMetaGroup(CreateMetaGroupInfo) - Method in class com.staros.shard.ShardManager
 
createResourceManager(WorkerManager) - Static method in class com.staros.worker.ResourceManagerFactory
 
createResponse(Object, HttpRequest, HttpResponseStatus) - Static method in class com.staros.manager.HttpService
 
createResponse(String, AsciiString, HttpResponseStatus) - Static method in class com.staros.manager.HttpService
 
createShard(String, List<CreateShardInfo>) - Method in class com.staros.manager.StarManager
 
createShard(CreateShardRequest, StreamObserver<CreateShardResponse>) - Method in class com.staros.manager.StarManagerService
 
createShard(List<CreateShardInfo>, FileStoreMgr) - Method in class com.staros.shard.ShardManager
 
createShardGroup(String, List<CreateShardGroupInfo>) - Method in class com.staros.manager.StarManager
 
createShardGroup(CreateShardGroupRequest, StreamObserver<CreateShardGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
createShardGroup(List<CreateShardGroupInfo>) - Method in class com.staros.shard.ShardManager
 
createWorkerGroup(String, String, WorkerGroupSpec, Map<String, String>, Map<String, String>) - Method in class com.staros.manager.StarManager
 
createWorkerGroup(CreateWorkerGroupRequest, StreamObserver<CreateWorkerGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
createWorkerGroup(String, String, WorkerGroupSpec, Map<String, String>, Map<String, String>) - Method in class com.staros.worker.WorkerManager
 
createWorkerManagerForTest(JournalSystem) - Static method in class com.staros.worker.WorkerManager
 

D

decommission() - Method in class com.staros.worker.Worker
 
DEFAULT_DIGEST_ALGORITHM - Static variable in class com.staros.util.Constant
 
DEFAULT_FS_TYPE - Static variable in class com.staros.util.Config
 
DEFAULT_ID - Static variable in class com.staros.util.Constant
 
DEFAULT_PROTOBUF_INTEGER - Static variable in class com.staros.util.Constant
 
DefaultResourceManager - Class in com.staros.worker
make RPC call to remote resource manager server to provision/release worker resources
DefaultResourceManager(WorkerManager, String) - Constructor for class com.staros.worker.DefaultResourceManager
 
DelegatedFileStore - Class in com.staros.filestore
 
DelegatedFileStore(FileStore) - Constructor for class com.staros.filestore.DelegatedFileStore
 
DelegateJournalSystem - Class in com.staros.journal
Delegate the JournalSystem, so that a few metrics can be collected.
DelegateJournalSystem(JournalSystem) - Constructor for class com.staros.journal.DelegateJournalSystem
 
deleteMetaGroup(String, long) - Method in class com.staros.manager.StarManager
 
deleteMetaGroup(DeleteMetaGroupRequest, StreamObserver<DeleteMetaGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
deleteMetaGroup(long) - Method in class com.staros.shard.ShardManager
 
deleteMetaGroupInternal(long, boolean) - Method in class com.staros.shard.ShardManager
 
deleteResource(DeleteResourceRequest, StreamObserver<DeleteResourceResponse>) - Method in class com.staros.provisioner.StarProvisionService
 
deleteShard(String, List<Long>) - Method in class com.staros.manager.StarManager
 
deleteShard(DeleteShardRequest, StreamObserver<DeleteShardResponse>) - Method in class com.staros.manager.StarManagerService
 
deleteShard(List<Long>) - Method in class com.staros.shard.ShardManager
 
deleteShardGroup(String, List<Long>, boolean) - Method in class com.staros.manager.StarManager
 
deleteShardGroup(DeleteShardGroupRequest, StreamObserver<DeleteShardGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
deleteShardGroup(List<Long>, boolean) - Method in class com.staros.shard.ShardManager
 
deleteWorkerGroup(String, long) - Method in class com.staros.manager.StarManager
 
deleteWorkerGroup(DeleteWorkerGroupRequest, StreamObserver<DeleteWorkerGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
deleteWorkerGroup(String, long) - Method in class com.staros.worker.WorkerManager
 
deregisterService(String) - Method in class com.staros.manager.StarManager
 
deregisterService(DeregisterServiceRequest, StreamObserver<DeregisterServiceResponse>) - Method in class com.staros.manager.StarManagerService
 
deregisterService(String) - Method in class com.staros.service.ServiceManager
Deregister a service template
DISABLE_BACKGROUND_SHARD_SCHEDULE_CHECK - Static variable in class com.staros.util.Config
disable background shard schedule check
disconnectWorker() - Method in class com.staros.starlet.StarletAgent
 
doStart() - Method in class com.staros.heartbeat.HeartbeatManager
 
doStart() - Method in class com.staros.schedule.ShardSchedulerV2
 
doStart() - Method in class com.staros.shard.ShardChecker
 
doStart() - Method in class com.staros.util.AbstractServer
 
doStop() - Method in class com.staros.heartbeat.HeartbeatManager
 
doStop() - Method in class com.staros.schedule.ShardSchedulerV2
 
doStop() - Method in class com.staros.shard.ShardChecker
 
doStop() - Method in class com.staros.util.AbstractServer
 
doWorkerHeartbeat(long) - Method in class com.staros.worker.WorkerManager
 
DummyJournalSystem - Class in com.staros.journal
 
DummyJournalSystem() - Constructor for class com.staros.journal.DummyJournalSystem
 
DummyResourceManager - Class in com.staros.worker
 
DummyResourceManager() - Constructor for class com.staros.worker.DummyResourceManager
 
dump(DataOutputStream) - Method in class com.staros.filestore.FileStoreMgr
 
dump() - Method in class com.staros.manager.StarManager
 
dump(DumpRequest, StreamObserver<DumpResponse>) - Method in class com.staros.manager.StarManagerService
 
dump(DataOutputStream) - Method in class com.staros.service.ServiceManager
 
dump(DataOutputStream) - Method in class com.staros.shard.ShardManager
 
dump(DataOutputStream) - Method in class com.staros.worker.WorkerManager
 
dumpMeta(OutputStream) - Method in class com.staros.filestore.FileStoreMgr
 
dumpMeta(OutputStream) - Method in class com.staros.manager.StarManager
 
dumpMeta(OutputStream) - Method in class com.staros.service.ServiceManager
Dump ServiceManager info into checkpoint image
dumpMeta(OutputStream) - Method in class com.staros.shard.ShardManager
dump shardManager's meta
dumpMeta(OutputStream) - Method in class com.staros.worker.WorkerManager
dump workerManager's meta

E

EMPTY_SERVICE_ID - Static variable in class com.staros.util.Constant
 
ENABLE_BUILTIN_RESOURCE_PROVISIONER_FOR_TEST - Static variable in class com.staros.util.Config
Whether enable builtin resource provisioner GRPC service for testing purpose
ENABLE_ZERO_WORKER_GROUP_COMPATIBILITY - Static variable in class com.staros.util.Config
Whether allows workers to use 0 as a valid group id and creates a worker group ahead to hold them.
enabled - Variable in class com.staros.filestore.AbstractFileStore
 
existService(String) - Method in class com.staros.service.ServiceManager
 

F

fatal(Logger, String, Object...) - Static method in class com.staros.util.LogUtils
 
FileCache - Class in com.staros.filecache
 
FileCache() - Constructor for class com.staros.filecache.FileCache
 
FileCache(boolean, boolean) - Constructor for class com.staros.filecache.FileCache
 
FilePath - Class in com.staros.filestore
 
FilePath(FileStore, String) - Constructor for class com.staros.filestore.FilePath
 
FileStore - Interface in com.staros.filestore
 
FileStoreMgr - Class in com.staros.filestore
 
FileStoreMgr(String, JournalSystem) - Constructor for class com.staros.filestore.FileStoreMgr
 
filter(Collection<Long>, Collection<Long>) - Method in interface com.staros.shard.policy.ShardPlacementPolicy
 
filter(Map<PlacementPolicy, Collection<Long>>, Collection<Long>) - Static method in class com.staros.shard.ShardPolicyFilter
Filter out candidates according to the given constraints, a map of PlacementPolicy -> WorkerIdList
FirstNSelector - Class in com.staros.schedule.select
The most naive way to choose n elements from map according to the scores ranking.
FirstNSelector() - Constructor for class com.staros.schedule.select.FirstNSelector
 
forTest - Static variable in class com.staros.starlet.StarletAgentFactory
 
fromFullPath(FileStore, String) - Static method in class com.staros.filestore.FilePath
 
fromProtobuf(AwsAssumeIamRoleCredentialInfo) - Static method in class com.staros.credential.AwsAssumeIamRoleCredential
 
fromProtobuf(AwsCredentialInfo) - Static method in class com.staros.credential.AwsCredentialMgr
 
fromProtobuf(AwsDefaultCredentialInfo) - Static method in class com.staros.credential.AwsDefaultCredential
 
fromProtobuf(AwsInstanceProfileCredentialInfo) - Static method in class com.staros.credential.AwsInstanceProfileCredential
 
fromProtobuf(AwsSimpleCredentialInfo) - Static method in class com.staros.credential.AwsSimpleCredential
 
fromProtobuf(AzBlobCredentialInfo) - Static method in class com.staros.credential.AzBlobCredential
 
fromProtobuf(FileCacheInfo) - Static method in class com.staros.filecache.FileCache
 
fromProtobuf(FileStoreInfo) - Static method in class com.staros.filestore.AbstractFileStore
 
fromProtobuf(FileStoreInfo) - Static method in class com.staros.filestore.AzBlobFileStore
 
fromProtobuf(FilePathInfo) - Static method in class com.staros.filestore.FilePath
 
fromProtobuf(FileStoreInfo) - Static method in interface com.staros.filestore.FileStore
 
fromProtobuf(FileStoreInfo) - Static method in class com.staros.filestore.HDFSFileStore
 
fromProtobuf(FileStoreInfo) - Static method in class com.staros.filestore.InvalidFileStore
 
fromProtobuf(FileStoreInfo) - Static method in class com.staros.filestore.S3FileStore
 
fromProtobuf(ReplicaInfo) - Static method in class com.staros.replica.Replica
 
fromProtobuf(ServiceInfo) - Static method in class com.staros.service.Service
 
fromProtobuf(ServiceComponentInfo) - Static method in class com.staros.service.ServiceComponent
 
fromProtobuf(ServiceTemplateInfo) - Static method in class com.staros.service.ServiceTemplate
 
fromProtobuf(MetaGroupInfo) - Static method in class com.staros.shard.MetaGroup
 
fromProtobuf(ShardInfo) - Static method in class com.staros.shard.Shard
 
fromProtobuf(ShardGroupInfo) - Static method in class com.staros.shard.ShardGroup
 
fromProtobuf(WorkerInfo) - Static method in class com.staros.worker.Worker
 
fromProtobuf(WorkerGroupDetailInfo) - Static method in class com.staros.worker.WorkerGroup
 
fs - Variable in class com.staros.filestore.FilePath
 
FS_NOT_SET - Static variable in class com.staros.util.Constant
 
fullPath() - Method in class com.staros.filestore.FilePath
 

G

getAddShardInfo() - Method in class com.staros.shard.Shard
 
getAllMetaGroupIds() - Method in class com.staros.shard.ShardManager
 
getAllShardGroupIds() - Method in class com.staros.shard.ShardManager
 
getAllShardIds() - Method in class com.staros.shard.ShardManager
 
getAllShards() - Method in class com.staros.starlet.MockStarletAgent
 
getAllWorkerGroupIds() - Method in class com.staros.schedule.ReplicaWorkerInvertIndex
 
getAllWorkerIds(boolean) - Method in class com.staros.worker.WorkerGroup
 
getAllWorkerIds() - Method in class com.staros.worker.WorkerManager
Get a snapshot of all worker ids
getAssignedPoolsSize() - Method in class com.staros.provisioner.StarProvisionServer
 
getComment() - Method in class com.staros.filestore.AbstractFileStore
 
getComment() - Method in class com.staros.filestore.DelegatedFileStore
 
getComment() - Method in interface com.staros.filestore.FileStore
 
getContentTypeFromHeader(HttpRequest) - Static method in class com.staros.manager.HttpService
 
getCredential() - Method in class com.staros.filestore.S3FileStore
 
getCredentialFromConfig() - Static method in class com.staros.credential.AwsCredentialMgr
 
getDefaultWorkerGroup(String) - Method in class com.staros.worker.WorkerManager
Returns a default worker group of the service.
getDigestInputStream(InputStream, String) - Static method in class com.staros.util.Utils
 
getDigestOutputStream(OutputStream, String) - Static method in class com.staros.util.Utils
 
getEnabled() - Method in class com.staros.filestore.AbstractFileStore
 
getEnabled() - Method in class com.staros.filestore.DelegatedFileStore
 
getEnabled() - Method in interface com.staros.filestore.FileStore
 
getEndpoint() - Method in class com.staros.filestore.S3FileStore
 
getExpectedReplicaNum() - Method in class com.staros.shard.Shard
 
getFileCache() - Method in class com.staros.shard.Shard
 
getFileCacheEnable() - Method in class com.staros.filecache.FileCache
 
getFilePath() - Method in class com.staros.shard.Shard
 
getFileStore(String) - Method in class com.staros.filestore.FileStoreMgr
 
getFileStore(String, String, String) - Method in class com.staros.manager.StarManager
 
getFileStore(GetFileStoreRequest, StreamObserver<GetFileStoreResponse>) - Method in class com.staros.manager.StarManagerService
 
getFileStoreByName(String) - Method in class com.staros.filestore.FileStoreMgr
 
getFileStoreMgr(String) - Method in class com.staros.manager.StarManager
 
getFileStoreMgr() - Method in class com.staros.service.Service
 
getFileStoreMgr(String) - Method in class com.staros.service.ServiceManager
 
getFreeNodeCount() - Method in class com.staros.provisioner.StarProvisionServer
 
getGroupId() - Method in class com.staros.shard.ShardGroup
 
getGroupId() - Method in class com.staros.worker.Worker
 
getGroupId() - Method in class com.staros.worker.WorkerGroup
 
getGroupIds() - Method in class com.staros.shard.Shard
 
getHeartbeatManager() - Method in class com.staros.manager.StarManager
 
getHttpService() - Method in class com.staros.manager.StarManagerServer
 
getIdGenerator() - Method in class com.staros.manager.StarManager
 
getIpPort() - Method in class com.staros.worker.Worker
 
getLabel(String) - Method in class com.staros.shard.ShardGroup
 
getLabels() - Method in class com.staros.shard.ShardGroup
 
getLabels() - Method in class com.staros.worker.WorkerGroup
 
getLastSeenTime() - Method in class com.staros.worker.Worker
 
getMetaGroup(GetMetaGroupRequest, StreamObserver<GetMetaGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
getMetaGroup(long) - Method in class com.staros.shard.ShardManager
 
getMetaGroupCount() - Method in class com.staros.shard.ShardManager
 
getMetaGroupId() - Method in class com.staros.shard.MetaGroup
 
getMetaGroupId() - Method in class com.staros.shard.ShardGroup
 
getMetaGroupInfo(String, long) - Method in class com.staros.manager.StarManager
 
getMetaGroupInfo(long) - Method in class com.staros.shard.ShardManager
 
getNextId() - Method in class com.staros.util.IdGenerator
 
getNextPersistentId() - Method in class com.staros.util.IdGenerator
 
getNumOfShards() - Method in class com.staros.worker.Worker
 
getOwner() - Method in class com.staros.worker.WorkerGroup
 
getPlacementPolicy() - Method in class com.staros.shard.MetaGroup
 
getPlacementPolicy() - Method in class com.staros.shard.ShardGroup
 
getPolicy() - Method in class com.staros.shard.policy.AbstractShardPlacementPolicy
 
getProperties() - Method in class com.staros.shard.Shard
 
getProperties() - Method in class com.staros.shard.ShardGroup
 
getProperties() - Method in class com.staros.worker.Worker
 
getProperties() - Method in class com.staros.worker.WorkerGroup
 
getProperty(String) - Method in class com.staros.shard.ShardGroup
 
getRegion() - Method in class com.staros.filestore.S3FileStore
 
getReplayId() - Method in class com.staros.journal.DelegateJournalSystem
 
getReplayId() - Method in class com.staros.journal.DummyJournalSystem
 
getReplayId() - Method in interface com.staros.journal.JournalSystem
 
getReplica() - Method in class com.staros.shard.Shard
 
getReplicaShardList(long) - Method in class com.staros.schedule.ReplicaWorkerInvertIndex
 
getReplicaSize() - Method in class com.staros.shard.Shard
 
getReplicaWorkerIds() - Method in class com.staros.shard.Shard
 
getResource(GetResourceRequest, StreamObserver<GetResourceResponse>) - Method in class com.staros.provisioner.StarProvisionService
 
getRole() - Method in class com.staros.replica.Replica
 
getScores() - Method in class com.staros.schedule.ScheduleScorer
 
getServerPort() - Method in class com.staros.manager.StarManagerServer
 
getService(GetServiceRequest, StreamObserver<GetServiceResponse>) - Method in class com.staros.manager.StarManagerService
 
getServiceComponents() - Method in class com.staros.service.ServiceTemplate
 
getServiceCount() - Method in class com.staros.service.ServiceManager
 
getServiceId() - Method in class com.staros.service.Service
 
getServiceId() - Method in class com.staros.shard.MetaGroup
 
getServiceId() - Method in class com.staros.shard.Shard
 
getServiceId() - Method in class com.staros.shard.ShardGroup
 
getServiceId() - Method in class com.staros.shard.ShardManager
 
getServiceId() - Method in class com.staros.worker.Worker
 
getServiceId() - Method in class com.staros.worker.WorkerGroup
 
getServiceIdByIdOrName(String) - Method in class com.staros.manager.StarManager
 
getServiceIdSet() - Method in class com.staros.service.ServiceManager
 
getServiceInfoById(String) - Method in class com.staros.manager.StarManager
 
getServiceInfoById(String) - Method in class com.staros.service.ServiceManager
Get a service info
getServiceInfoByName(String) - Method in class com.staros.manager.StarManager
 
getServiceInfoByName(String) - Method in class com.staros.service.ServiceManager
Get a service info
getServiceManager() - Method in class com.staros.manager.StarManager
 
getServiceName() - Method in class com.staros.service.Service
 
getServices(StarProvisionServer) - Static method in class com.staros.provisioner.StarProvisionServer
 
getServiceTemplateCount() - Method in class com.staros.service.ServiceManager
 
getServiceTemplateName() - Method in class com.staros.service.Service
 
getServiceTemplateName() - Method in class com.staros.service.ServiceTemplate
 
getShard(GetShardRequest, StreamObserver<GetShardResponse>) - Method in class com.staros.manager.StarManagerService
 
getShard(long) - Method in class com.staros.shard.ShardManager
 
getShardCount() - Method in class com.staros.shard.ShardManager
 
getShardCount() - Method in class com.staros.starlet.MockStarletAgent
 
getShardGroup(GetShardGroupRequest, StreamObserver<GetShardGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
getShardGroup(long) - Method in class com.staros.shard.ShardManager
 
getShardGroupCount() - Method in class com.staros.shard.ShardManager
 
getShardGroupIds() - Method in class com.staros.shard.MetaGroup
 
getShardGroupInfo(String, List<Long>) - Method in class com.staros.manager.StarManager
 
getShardGroupInfo(List<Long>) - Method in class com.staros.shard.ShardManager
 
getShardGroupInfoHandler(Matcher) - Method in class com.staros.manager.HttpDispatcher
 
getShardId() - Method in class com.staros.shard.Shard
 
getShardIds() - Method in class com.staros.shard.ShardGroup
 
getShardInfo(String, List<Long>, long) - Method in class com.staros.manager.StarManager
 
getShardInfo(List<Long>) - Method in class com.staros.shard.ShardManager
Get shard info in service
getShardInfoHandler(Matcher) - Method in class com.staros.manager.HttpDispatcher
 
getShardIterator() - Method in class com.staros.shard.ShardManager
 
getShardManager(String) - Method in class com.staros.manager.StarManager
 
getShardManager() - Method in class com.staros.service.Service
 
getShardManager(String) - Method in class com.staros.service.ServiceManager
 
getSpec() - Method in class com.staros.worker.WorkerGroup
 
getStarManager() - Method in class com.staros.manager.StarManagerServer
 
getState() - Method in class com.staros.service.Service
 
getState() - Method in class com.staros.shard.Shard
 
getState() - Method in class com.staros.worker.Worker
 
getState() - Method in class com.staros.worker.WorkerGroup
 
getStrSubstitutor() - Method in class com.staros.util.LogConfig
 
getVersion() - Method in class com.staros.filestore.AbstractFileStore
 
getVersion() - Method in class com.staros.filestore.DelegatedFileStore
 
getVersion() - Method in interface com.staros.filestore.FileStore
 
getWorker(GetWorkerRequest, StreamObserver<GetWorkerResponse>) - Method in class com.staros.manager.StarManagerService
 
getWorker(long) - Method in class com.staros.worker.WorkerManager
 
getWorkerCount() - Method in class com.staros.worker.WorkerGroup
 
getWorkerCount() - Method in class com.staros.worker.WorkerManager
 
getWorkerGroup(String, long) - Method in class com.staros.worker.WorkerManager
 
getWorkerGroupInfoHandler(Matcher) - Method in class com.staros.manager.HttpDispatcher
 
getWorkerGroupNoException(String, long) - Method in class com.staros.worker.WorkerManager
 
getWorkerId() - Method in class com.staros.replica.Replica
 
getWorkerId() - Method in class com.staros.worker.Worker
 
getWorkerInfo(String, long) - Method in class com.staros.manager.StarManager
 
getWorkerInfo(String, String) - Method in class com.staros.manager.StarManager
 
getWorkerInfo(long) - Method in class com.staros.worker.WorkerManager
Get worker info by id
getWorkerInfo(String) - Method in class com.staros.worker.WorkerManager
Get worker info by ip port
getWorkerInfoHandler(Matcher) - Method in class com.staros.manager.HttpDispatcher
 
getWorkerManager() - Method in class com.staros.manager.StarManager
 
GRPC_CHANNEL_MAX_MESSAGE_SIZE - Static variable in class com.staros.util.Config
Max grpc message size allowed as inbound and outbound, default: 64MB, grpc default: 4MB Estimated number of shards to be added in a batch: 262k Estimated single shard info size: 256 bytes
GRPC_RPC_TIME_OUT_SEC - Static variable in class com.staros.util.Config
GRPC TIMEOUT in seconds.

H

hashCode() - Method in class com.staros.shard.Shard
 
hasReplica(long) - Method in class com.staros.shard.Shard
 
HDFS_FSKEY_FOR_CONFIG - Static variable in class com.staros.util.Constant
 
HDFS_FSNAME_FOR_CONFIG - Static variable in class com.staros.util.Constant
 
HDFS_URL - Static variable in class com.staros.util.Config
 
HDFSFileStore - Class in com.staros.filestore
 
HDFSFileStore(FileStoreInfo, String, Map<String, String>) - Constructor for class com.staros.filestore.HDFSFileStore
 
HDFSFileStore(String, String, String) - Constructor for class com.staros.filestore.HDFSFileStore
 
heartbeat() - Method in class com.staros.starlet.MockStarletAgent
 
heartbeat() - Method in class com.staros.starlet.StarletAgent
 
heartbeat() - Method in class com.staros.worker.Worker
 
HeartbeatManager - Class in com.staros.heartbeat
 
HeartbeatManager(WorkerManager) - Constructor for class com.staros.heartbeat.HeartbeatManager
 
HttpDispatcher - Class in com.staros.manager
 
HttpDispatcher(StarManager) - Constructor for class com.staros.manager.HttpDispatcher
 
HttpService - Class in com.staros.manager
 
HttpService(StarManager) - Constructor for class com.staros.manager.HttpService
 

I

IdGenerator - Class in com.staros.util
 
IdGenerator(JournalSystem) - Constructor for class com.staros.util.IdGenerator
 
IMAGE_META_MAGIC_BYTES - Static variable in class com.staros.manager.StarManager
 
increaseVersion() - Method in class com.staros.filestore.AbstractFileStore
 
increaseVersion() - Method in class com.staros.filestore.DelegatedFileStore
 
increaseVersion() - Method in interface com.staros.filestore.FileStore
 
initLogging() - Static method in class com.staros.util.LogConfig
 
INVALID_KEY_PREFIX - Static variable in class com.staros.filestore.InvalidFileStore
 
InvalidFileStore - Class in com.staros.filestore
 
InvalidFileStore(FileStoreInfo) - Constructor for class com.staros.filestore.InvalidFileStore
 
isAlive() - Method in class com.staros.worker.Worker
 
isAnonymous() - Method in class com.staros.shard.ShardGroup
 
isBuiltin() - Method in class com.staros.filestore.AbstractFileStore
 
isBuiltin() - Method in class com.staros.filestore.DelegatedFileStore
 
isBuiltin() - Method in interface com.staros.filestore.FileStore
 
isEmpty() - Method in class com.staros.schedule.ScheduleScorer
 
isIdle() - Method in interface com.staros.schedule.Scheduler
 
isIdle() - Method in class com.staros.schedule.ShardSchedulerV2
 
isMetaGroupStable(long, List<Long>) - Method in class com.staros.shard.ShardManager
 
isPartitionedPrefixEnabled() - Method in class com.staros.filestore.AbstractFileStore
 
isPartitionedPrefixEnabled() - Method in class com.staros.filestore.DelegatedFileStore
 
isPartitionedPrefixEnabled() - Method in interface com.staros.filestore.FileStore
 
isPartitionedPrefixEnabled() - Method in class com.staros.filestore.S3FileStore
 
isRunning() - Method in class com.staros.util.AbstractServer
 
isRunning() - Method in interface com.staros.util.Server
 
isShutdown() - Method in class com.staros.worker.Worker
 
isValid() - Method in class com.staros.filestore.AzBlobFileStore
 
isValid() - Method in class com.staros.filestore.DelegatedFileStore
 
isValid() - Method in interface com.staros.filestore.FileStore
 
isValid() - Method in class com.staros.filestore.HDFSFileStore
 
isValid() - Method in class com.staros.filestore.InvalidFileStore
 
isValid() - Method in class com.staros.filestore.S3FileStore
 
isValidSpec(WorkerGroupSpec) - Method in class com.staros.worker.DefaultResourceManager
 
isValidSpec(WorkerGroupSpec) - Method in class com.staros.worker.DummyResourceManager
 
isValidSpec(WorkerGroupSpec) - Method in interface com.staros.worker.ResourceManager
 

J

joinGroup(long) - Method in class com.staros.shard.Shard
 
JournalReplayer - Class in com.staros.journal
 
JournalReplayer(StarManager) - Constructor for class com.staros.journal.JournalReplayer
 
JournalSystem - Interface in com.staros.journal
 

K

key - Variable in class com.staros.filestore.AbstractFileStore
 
key() - Method in class com.staros.filestore.AbstractFileStore
 
key() - Method in class com.staros.filestore.DelegatedFileStore
 
key() - Method in interface com.staros.filestore.FileStore
 

L

LIST_SHARD_GROUP_BATCH_SIZE - Static variable in class com.staros.util.Config
Max batch size to call listShardGroup in a single RPC
listFileStore(FileStoreType) - Method in class com.staros.filestore.FileStoreMgr
 
listFileStore(String, FileStoreType) - Method in class com.staros.manager.StarManager
 
listFileStore(ListFileStoreRequest, StreamObserver<ListFileStoreResponse>) - Method in class com.staros.manager.StarManagerService
 
listMetaGroup(ListMetaGroupRequest, StreamObserver<ListMetaGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
listMetaGroupInfo(String) - Method in class com.staros.manager.StarManager
 
listMetaGroupInfo() - Method in class com.staros.shard.ShardManager
 
listShard(ListShardRequest, StreamObserver<ListShardResponse>) - Method in class com.staros.manager.StarManagerService
 
listShardGroup(ListShardGroupRequest, StreamObserver<ListShardGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
listShardGroupInfo(String, boolean, long) - Method in class com.staros.manager.StarManager
 
listShardGroupInfo(boolean, long) - Method in class com.staros.shard.ShardManager
 
listShardGroupInfoHandler(Matcher) - Method in class com.staros.manager.HttpDispatcher
 
listShardInfo(String, List<Long>, long, boolean) - Method in class com.staros.manager.StarManager
 
listShardInfo(List<Long>, boolean) - Method in class com.staros.shard.ShardManager
 
listWorkerGroup(ListWorkerGroupRequest, StreamObserver<ListWorkerGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
listWorkerGroupInfoHandler(Matcher) - Method in class com.staros.manager.HttpDispatcher
 
listWorkerGroups(String, List<Long>, Map<String, String>, boolean) - Method in class com.staros.manager.StarManager
 
listWorkerGroups(String, Map<String, String>, boolean) - Method in class com.staros.worker.WorkerManager
 
listWorkerGroupsById(String, List<Long>, boolean) - Method in class com.staros.worker.WorkerManager
 
loadAzBlobFileStoreFromConfig() - Method in class com.staros.filestore.FileStoreMgr
 
loadHDFSFileStoreFromConfig() - Method in class com.staros.filestore.FileStoreMgr
 
loadMeta(InputStream) - Method in class com.staros.filestore.FileStoreMgr
 
loadMeta(InputStream) - Method in class com.staros.manager.StarManager
 
loadMeta(InputStream) - Method in class com.staros.service.ServiceManager
 
loadMeta(InputStream) - Method in class com.staros.shard.ShardManager
 
loadMeta(InputStream) - Method in class com.staros.worker.WorkerManager
 
loadS3FileStoreFromConfig() - Method in class com.staros.filestore.FileStoreMgr
 
locations - Variable in class com.staros.filestore.AbstractFileStore
 
lock - Variable in class com.staros.filestore.AbstractFileStore
 
LOG - Static variable in class com.staros.manager.HttpDispatcher
 
LOG - Static variable in class com.staros.manager.HttpService
 
LOG_DIR - Static variable in class com.staros.util.Config
 
LOG_LEVEL - Static variable in class com.staros.util.Config
log level, it can be "DEBUG", "INFO", "WARN" or "ERROR"
logAddFileStore(String, FileStoreInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logAddWorker(Worker) - Static method in class com.staros.journal.StarMgrJournal
 
logBootstrapService(Service) - Static method in class com.staros.journal.StarMgrJournal
 
LogConfig - Class in com.staros.util
 
LogConfig(ConfigurationSource) - Constructor for class com.staros.util.LogConfig
 
logCreateMetaGroup(String, MetaGroupJournalInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logCreateShard(String, CreateShardJournalInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logCreateShardGroup(String, List<ShardGroup>) - Static method in class com.staros.journal.StarMgrJournal
 
logCreateWorkerGroup(WorkerGroup) - Static method in class com.staros.journal.StarMgrJournal
 
logDeleteMetaGroup(String, MetaGroupJournalInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logDeleteShard(String, List<Long>) - Static method in class com.staros.journal.StarMgrJournal
 
logDeleteShardGroup(String, DeleteShardGroupInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logDeleteWorkerGroup(String, long) - Static method in class com.staros.journal.StarMgrJournal
 
logDeregisterService(String) - Static method in class com.staros.journal.StarMgrJournal
 
logLeaderInfo(LeaderInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logRegisterService(ServiceTemplate) - Static method in class com.staros.journal.StarMgrJournal
 
logRemoveFileStore(String, String) - Static method in class com.staros.journal.StarMgrJournal
 
logRemoveWorker(String, long, long) - Static method in class com.staros.journal.StarMgrJournal
 
logSetId(long) - Static method in class com.staros.journal.StarMgrJournal
 
logShutdownService(Service) - Static method in class com.staros.journal.StarMgrJournal
 
logUpdateFileStore(String, FileStoreInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logUpdateMetaGroup(String, MetaGroupJournalInfo) - Static method in class com.staros.journal.StarMgrJournal
 
logUpdateShard(String, List<Shard>) - Static method in class com.staros.journal.StarMgrJournal
 
logUpdateShardGroup(String, List<ShardGroup>) - Static method in class com.staros.journal.StarMgrJournal
 
logUpdateWorker(String, List<Worker>) - Static method in class com.staros.journal.StarMgrJournal
 
logUpdateWorkerGroup(String, UpdateWorkerGroupInfo) - Static method in class com.staros.journal.StarMgrJournal
 
LogUtils - Class in com.staros.util
 
LogUtils() - Constructor for class com.staros.util.LogUtils
 

M

main(String[]) - Static method in class com.staros.manager.StarManagerServer
 
main(String[]) - Static method in class com.staros.provisioner.StarProvisionServerMain
 
main(String[]) - Static method in class com.staros.tools.ReadImage
 
match(Worker) - Method in class com.staros.worker.Worker
 
mergeFrom(FileStore) - Method in class com.staros.filestore.AbstractFileStore
Allows update FileStore from @other if the corresponding field is set
mergeFrom(FileStore) - Method in class com.staros.filestore.AzBlobFileStore
 
mergeFrom(FileStore) - Method in class com.staros.filestore.DelegatedFileStore
 
mergeFrom(FileStore) - Method in interface com.staros.filestore.FileStore
 
mergeFrom(FileStore) - Method in class com.staros.filestore.HDFSFileStore
 
mergeFrom(FileStore) - Method in class com.staros.filestore.S3FileStore
 
MetaGroup - Class in com.staros.shard
 
MetaGroup(String, long, List<Long>, PlacementPolicy) - Constructor for class com.staros.shard.MetaGroup
 
METRIC_LOG_UPDATE_SHARDS_NUM_COUNTER - Static variable in class com.staros.journal.StarMgrJournal
 
METRIC_LOG_UPDATE_SHARDS_OPS_COUNTER - Static variable in class com.staros.journal.StarMgrJournal
 
MockStarletAgent - Class in com.staros.starlet
 
MockStarletAgent() - Constructor for class com.staros.starlet.MockStarletAgent
 

N

name - Variable in class com.staros.filestore.AbstractFileStore
 
name() - Method in class com.staros.filestore.AbstractFileStore
 
name() - Method in class com.staros.filestore.DelegatedFileStore
 
name() - Method in interface com.staros.filestore.FileStore
 
namedThreadFactory(String) - Static method in class com.staros.util.Utils
 
newStarletAgent() - Static method in class com.staros.starlet.StarletAgentFactory
 
numOfPartitionedPrefix() - Method in class com.staros.filestore.AbstractFileStore
 
numOfPartitionedPrefix() - Method in class com.staros.filestore.DelegatedFileStore
 
numOfPartitionedPrefix() - Method in interface com.staros.filestore.FileStore
 
numOfPartitionedPrefix() - Method in class com.staros.filestore.S3FileStore
 

O

onBecomeFollower() - Method in class com.staros.journal.DelegateJournalSystem
 
onBecomeFollower() - Method in class com.staros.journal.DummyJournalSystem
 
onBecomeFollower() - Method in interface com.staros.journal.JournalSystem
 
onBecomeLeader() - Method in class com.staros.journal.DelegateJournalSystem
 
onBecomeLeader() - Method in class com.staros.journal.DummyJournalSystem
 
onBecomeLeader() - Method in interface com.staros.journal.JournalSystem
 
overrideShards(Map<Long, Shard>) - Method in class com.staros.shard.ShardManager
 

P

parseLogAddFileStore(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogAddWorker(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogBootstrapService(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogCreateMetaGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogCreateShard(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogCreateShardGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogCreateWorkerGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogDeleteMetaGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogDeleteShard(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogDeleteShardGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogDeleteWorkerGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogDeregisterService(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogLeaderInfo(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogRegisterService(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogRemoveFileStore(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogRemoveWorker(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogSetId(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogShutdownService(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogUpdateFileStore(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogUpdateMetaGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogUpdateShard(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogUpdateShardGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogUpdateWorker(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
parseLogUpdateWorkerGroup(Journal) - Static method in class com.staros.journal.StarMgrJournal
 
policies - Static variable in class com.staros.shard.ShardPolicyFilter
 
policy - Variable in class com.staros.shard.policy.AbstractShardPlacementPolicy
 
processAddNodeRequest(String) - Method in class com.staros.provisioner.StarProvisionServer
 
processDeleteResourceRequest(String) - Method in class com.staros.provisioner.StarProvisionServer
 
processGetResourceRequest(String) - Method in class com.staros.provisioner.StarProvisionServer
 
processProvisionResourceRequest(String, int) - Method in class com.staros.provisioner.StarProvisionServer
 
processScaleResourceRequest(String, int) - Method in class com.staros.provisioner.StarProvisionServer
 
processWorkerHeartbeat(String, long, long, Map<String, String>, List<Long>, List<ShardReportInfo>) - Method in class com.staros.manager.StarManager
 
processWorkerHeartbeat(String, long, long, long, Map<String, String>, long) - Method in class com.staros.worker.WorkerManager
process worker heartbeat, update worker's info
provisionResource(ProvisionResourceRequest, StreamObserver<ProvisionResourceResponse>) - Method in class com.staros.provisioner.StarProvisionService
 
provisionResource(String, long, WorkerGroupSpec, String) - Method in class com.staros.worker.DefaultResourceManager
 
provisionResource(String, long, WorkerGroupSpec, String) - Method in class com.staros.worker.DummyResourceManager
 
provisionResource(String, long, WorkerGroupSpec, String) - Method in interface com.staros.worker.ResourceManager
 

Q

queryMetaGroupStable(String, long, long) - Method in class com.staros.manager.StarManager
 
queryMetaGroupStable(QueryMetaGroupStableRequest, StreamObserver<QueryMetaGroupStableResponse>) - Method in class com.staros.manager.StarManagerService
 
quitGroup(long) - Method in class com.staros.shard.Shard
 

R

read(DataInput) - Static method in class com.staros.service.Service
 
read(DataInput) - Static method in class com.staros.service.ServiceTemplate
 
read(DataInput) - Static method in class com.staros.shard.MetaGroup
 
read(DataInput) - Static method in class com.staros.shard.Shard
 
read(DataInput) - Static method in class com.staros.shard.ShardGroup
 
read(DataInput) - Static method in class com.staros.worker.Worker
 
read(DataInput) - Static method in class com.staros.worker.WorkerGroup
 
ReadImage - Class in com.staros.tools
Read from image and dump to human readable format [Usage] execute the following command under `starmanager/target`, java -cp ./lib:starmanager.jar com.staros.tools.ReadImage
ReadImage() - Constructor for class com.staros.tools.ReadImage
 
readLock() - Method in class com.staros.service.ServiceManager
 
registerService(String, List<String>) - Method in class com.staros.manager.StarManager
 
registerService(RegisterServiceRequest, StreamObserver<RegisterServiceResponse>) - Method in class com.staros.manager.StarManagerService
 
registerService(String, List<String>) - Method in class com.staros.service.ServiceManager
Register a service template
releaseResource(String, long) - Method in class com.staros.worker.DefaultResourceManager
 
releaseResource(String, long) - Method in class com.staros.worker.DummyResourceManager
 
releaseResource(String, long) - Method in interface com.staros.worker.ResourceManager
 
remove(long) - Method in class com.staros.schedule.ScheduleScorer
 
removeFileStore(String) - Method in class com.staros.filestore.FileStoreMgr
 
removeFileStore(String, String, String) - Method in class com.staros.manager.StarManager
 
removeFileStore(RemoveFileStoreRequest, StreamObserver<RemoveFileStoreResponse>) - Method in class com.staros.manager.StarManagerService
 
removeFileStoreByName(String) - Method in class com.staros.filestore.FileStoreMgr
 
removeReplica(long, long) - Method in class com.staros.schedule.ReplicaWorkerInvertIndex
 
removeReplica(long) - Method in class com.staros.shard.Shard
 
removeShard(RemoveShardRequest) - Method in class com.staros.starlet.MockStarletAgent
 
removeShard(RemoveShardRequest) - Method in class com.staros.starlet.StarletAgent
 
removeShard(RemoveShardRequest) - Method in class com.staros.worker.Worker
 
removeShardGroupReplicas(String, Long) - Method in class com.staros.manager.StarManager
 
removeShardGroupReplicas(Long) - Method in class com.staros.shard.ShardManager
 
removeShardGroupReplicasHandler(Matcher) - Method in class com.staros.manager.HttpDispatcher
 
removeShardId(long) - Method in class com.staros.shard.ShardGroup
 
removeShardReplicas(List<Long>, long) - Method in class com.staros.shard.ShardManager
 
removeWorker(String, long, long) - Method in class com.staros.manager.StarManager
 
removeWorker(RemoveWorkerRequest, StreamObserver<RemoveWorkerResponse>) - Method in class com.staros.manager.StarManagerService
 
removeWorker(Worker) - Method in class com.staros.worker.WorkerGroup
 
removeWorker(String, long, long) - Method in class com.staros.worker.WorkerManager
Remove a worker for worker group in service
replay(Journal) - Method in class com.staros.journal.JournalReplayer
 
replay(Journal) - Method in class com.staros.manager.StarManager
 
replayAddFileStore(FileStoreInfo) - Method in class com.staros.filestore.FileStoreMgr
 
replayAddFileStore(String, FileStoreInfo) - Method in class com.staros.manager.StarManager
 
replayAddWorker(String, Worker) - Method in class com.staros.manager.StarManager
 
replayAddWorker(String, Worker) - Method in class com.staros.worker.WorkerManager
 
replayBootstrapService(Service) - Method in class com.staros.manager.StarManager
 
replayBootstrapService(Service) - Method in class com.staros.service.ServiceManager
 
replayCreateMetaGroup(String, MetaGroupJournalInfo) - Method in class com.staros.manager.StarManager
 
replayCreateMetaGroup(MetaGroupJournalInfo) - Method in class com.staros.shard.ShardManager
 
replayCreateShard(String, CreateShardJournalInfo) - Method in class com.staros.manager.StarManager
 
replayCreateShard(CreateShardJournalInfo) - Method in class com.staros.shard.ShardManager
 
replayCreateShardGroup(String, List<ShardGroup>) - Method in class com.staros.manager.StarManager
 
replayCreateShardGroup(List<ShardGroup>) - Method in class com.staros.shard.ShardManager
 
replayCreateWorkerGroup(String, WorkerGroup) - Method in class com.staros.manager.StarManager
 
replayCreateWorkerGroup(String, WorkerGroup) - Method in class com.staros.worker.WorkerManager
 
replayDeleteMetaGroup(String, MetaGroupJournalInfo) - Method in class com.staros.manager.StarManager
 
replayDeleteMetaGroup(MetaGroupJournalInfo) - Method in class com.staros.shard.ShardManager
 
replayDeleteShard(String, List<Long>) - Method in class com.staros.manager.StarManager
 
replayDeleteShard(List<Long>) - Method in class com.staros.shard.ShardManager
 
replayDeleteShardGroup(String, DeleteShardGroupInfo) - Method in class com.staros.manager.StarManager
 
replayDeleteShardGroup(DeleteShardGroupInfo) - Method in class com.staros.shard.ShardManager
 
replayDeleteWorkerGroup(String, long) - Method in class com.staros.manager.StarManager
 
replayDeleteWorkerGroup(String, long) - Method in class com.staros.worker.WorkerManager
 
replayDeregisterService(String) - Method in class com.staros.manager.StarManager
 
replayDeregisterService(String) - Method in class com.staros.service.ServiceManager
 
replayLeaderChange(LeaderInfo) - Method in class com.staros.manager.StarManager
 
replayRegisterService(ServiceTemplate) - Method in class com.staros.manager.StarManager
 
replayRegisterService(ServiceTemplate) - Method in class com.staros.service.ServiceManager
 
replayRemoveFileStore(String) - Method in class com.staros.filestore.FileStoreMgr
 
replayRemoveFileStore(String, String) - Method in class com.staros.manager.StarManager
 
replayRemoveWorker(String, long, long) - Method in class com.staros.manager.StarManager
 
replayRemoveWorker(String, long, long) - Method in class com.staros.worker.WorkerManager
 
replaySetId(long) - Method in class com.staros.manager.StarManager
 
replayShutdownService(Service) - Method in class com.staros.manager.StarManager
 
replayShutdownService(Service) - Method in class com.staros.service.ServiceManager
 
replayTo(long) - Method in class com.staros.journal.DelegateJournalSystem
 
replayTo(long) - Method in class com.staros.journal.DummyJournalSystem
 
replayTo(long) - Method in interface com.staros.journal.JournalSystem
 
replayUpdateFileStore(FileStoreInfo) - Method in class com.staros.filestore.FileStoreMgr
 
replayUpdateFileStore(String, FileStoreInfo) - Method in class com.staros.manager.StarManager
 
replayUpdateFileStore(String, FileStoreInfo) - Method in class com.staros.service.ServiceManager
 
replayUpdateMetaGroup(String, MetaGroupJournalInfo) - Method in class com.staros.manager.StarManager
 
replayUpdateMetaGroup(MetaGroupJournalInfo) - Method in class com.staros.shard.ShardManager
 
replayUpdateShard(String, List<Shard>) - Method in class com.staros.manager.StarManager
 
replayUpdateShard(List<Shard>) - Method in class com.staros.shard.ShardManager
 
replayUpdateShardGroup(String, List<ShardGroup>) - Method in class com.staros.manager.StarManager
 
replayUpdateShardGroup(List<ShardGroup>) - Method in class com.staros.shard.ShardManager
 
replayUpdateWorker(String, List<Worker>) - Method in class com.staros.manager.StarManager
 
replayUpdateWorker(String, List<Worker>) - Method in class com.staros.worker.WorkerManager
 
replayUpdateWorkerGroup(String, UpdateWorkerGroupInfo) - Method in class com.staros.manager.StarManager
 
replayUpdateWorkerGroup(String, UpdateWorkerGroupInfo) - Method in class com.staros.worker.WorkerManager
 
Replica - Class in com.staros.replica
 
Replica(long) - Constructor for class com.staros.replica.Replica
 
ReplicaWorkerInvertIndex - Class in com.staros.schedule
Helper class to get worker -> shard index and possibly group by worker groups
ReplicaWorkerInvertIndex() - Constructor for class com.staros.schedule.ReplicaWorkerInvertIndex
 
RESOURCE_MANAGER_WORKER_GROUP_SPEC_RESOURCE_FILE - Static variable in class com.staros.util.Config
Worker Group Spec definition file, refer to src/main/resources/default_worker_group_spec.json as example.
RESOURCE_PROVISIONER_ADDRESS - Static variable in class com.staros.util.Config
External Resource provisioner address, if empty, try to connect to builtin resource provisioner
ResourceManager - Interface in com.staros.worker
 
ResourceManagerFactory - Class in com.staros.worker
 
ResourceManagerFactory() - Constructor for class com.staros.worker.ResourceManagerFactory
 
rootPath() - Method in class com.staros.filestore.AbstractFileStore
 
rootPath() - Method in class com.staros.filestore.DelegatedFileStore
 
rootPath() - Method in interface com.staros.filestore.FileStore
 
rootPath() - Method in class com.staros.filestore.HDFSFileStore
 
rootPath() - Method in class com.staros.filestore.InvalidFileStore
 
rootPath() - Method in class com.staros.filestore.S3FileStore
 
running - Variable in class com.staros.util.AbstractServer
 

S

S3_BUCKET - Static variable in class com.staros.util.Config
S3 object storage bucket
S3_ENDPOINT - Static variable in class com.staros.util.Config
S3 object storage endpoint
S3_FSKEY_FOR_CONFIG - Static variable in class com.staros.util.Constant
 
S3_FSNAME_FOR_CONFIG - Static variable in class com.staros.util.Constant
 
S3_PATH_PREFIX - Static variable in class com.staros.util.Config
S3 path in the bucket to be used as the root path.
S3_PREFIX - Static variable in class com.staros.util.Constant
 
S3_REGION - Static variable in class com.staros.util.Config
S3 object storage region
S3FileStore - Class in com.staros.filestore
 
S3FileStore(String, String, String, String, String, AwsCredential, String) - Constructor for class com.staros.filestore.S3FileStore
 
S3FileStore(String, String, String, String, String, AwsCredential, String, boolean, int) - Constructor for class com.staros.filestore.S3FileStore
 
S3FileStore(FileStoreInfo, String, String, AwsCredential, boolean, int) - Constructor for class com.staros.filestore.S3FileStore
 
scaleResource(ScaleResourceRequest, StreamObserver<ScaleResourceResponse>) - Method in class com.staros.provisioner.StarProvisionService
 
scheduleAddToDefaultGroup(String, List<Long>) - Method in interface com.staros.schedule.Scheduler
 
scheduleAddToDefaultGroup(String, List<Long>) - Method in class com.staros.schedule.ShardSchedulerV2
Request to schedule a list of shards in service (serviceId), let schedule to choose the default worker group.
scheduleAddToGroup(String, long, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAddToGroup(String, List<Long>, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAddToGroup(String, long, long) - Method in class com.staros.schedule.ShardSchedulerV2
BLOCKING interface to schedule single shard (shardId) in service (serviceId) in workerGroup (wgId).
scheduleAddToGroup(String, List<Long>, long) - Method in class com.staros.schedule.ShardSchedulerV2
BLOCKING interface of scheduling a list of shards to a WorkerGroup.
scheduleAddToWorker(String, long, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAddToWorker(String, List<Long>, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAddToWorker(String, long, long) - Method in class com.staros.schedule.ShardSchedulerV2
Phase2: add a replica of a shard to a worker without
scheduleAddToWorker(String, List<Long>, long) - Method in class com.staros.schedule.ShardSchedulerV2
Phase2: batch add list of shards to a worker
scheduleAsyncAddToGroup(String, long, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAsyncAddToGroup(String, long, long) - Method in class com.staros.schedule.ShardSchedulerV2
Async schedule single shard (shardId) in service (serviceId) in wgId workerGroup (wgId), don't wait for result.
scheduleAsyncAddToWorker(String, List<Long>, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAsyncAddToWorker(String, List<Long>, long) - Method in class com.staros.schedule.ShardSchedulerV2
Phase2: Async interface to schedule a list of shards to the target worker, don't wait for the result.
scheduleAsyncRemoveFromGroup(String, long, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAsyncRemoveFromGroup(String, long, long) - Method in class com.staros.schedule.ShardSchedulerV2
Remove redundant replicas for the shard, running: 1.
scheduleAsyncRemoveFromWorker(String, List<Long>, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleAsyncRemoveFromWorker(String, List<Long>, long) - Method in class com.staros.schedule.ShardSchedulerV2
Phase2: Remove list of shards from target worker, don't wait for the result.
ScheduleConflictStarException - Exception in com.staros.exception
 
ScheduleConflictStarException() - Constructor for exception com.staros.exception.ScheduleConflictStarException
 
Scheduler - Interface in com.staros.schedule
 
SCHEDULER_BALANCE_MAX_SKEW - Static variable in class com.staros.util.Config
Tolerance of max skewness of replicas in a shard group without triggering a balance.
SCHEDULER_MAX_BATCH_ADD_SHARD_SIZE - Static variable in class com.staros.util.Config
Max batch size to call addShard in a single RPC, 8192 shards, (estimated payload size: 2MB)
SCHEDULER_TRIGGER_SCHEDULE_WHEN_CREATE_SHARD - Static variable in class com.staros.util.Config
Whether triggering a scheduling to default worker group when a new shard is created.
scheduleRemoveFromWorker(String, long, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleRemoveFromWorker(String, List<Long>, long) - Method in interface com.staros.schedule.Scheduler
 
scheduleRemoveFromWorker(String, long, long) - Method in class com.staros.schedule.ShardSchedulerV2
Phase2: Remove single shard replica from target worker.
scheduleRemoveFromWorker(String, List<Long>, long) - Method in class com.staros.schedule.ShardSchedulerV2
Phase2: Remove list of shards from target worker, wait for the result back.
ScheduleScorer - Class in com.staros.schedule
 
ScheduleScorer(Collection<Long>) - Constructor for class com.staros.schedule.ScheduleScorer
 
scheduleShardsBelongToWorker(long) - Method in class com.staros.shard.ShardManager
 
ScheduleStarException - Exception in com.staros.exception
 
ScheduleStarException(String) - Constructor for exception com.staros.exception.ScheduleStarException
 
ScheduleStarException(String, Object...) - Constructor for exception com.staros.exception.ScheduleStarException
 
selectHighEnd(Selector, int) - Method in class com.staros.schedule.ScheduleScorer
 
selectHighEnd(Map<Long, Double>, int) - Method in class com.staros.schedule.select.FirstNSelector
 
selectHighEnd(Map<Long, Double>, int) - Method in interface com.staros.schedule.select.Selector
Select n elements from given Map (WorkerId, Scores), from the low end, (score value natural order)
selectLowEnd(Selector, int) - Method in class com.staros.schedule.ScheduleScorer
 
selectLowEnd(Map<Long, Double>, int) - Method in class com.staros.schedule.select.FirstNSelector
 
selectLowEnd(Map<Long, Double>, int) - Method in interface com.staros.schedule.select.Selector
Select n elements from given Map (WorkerId, Scores), from the low end, (score value natural order)
Selector - Interface in com.staros.schedule.select
 
serializeToJson(Object) - Static method in class com.staros.manager.HttpService
 
serializeToText(Object) - Static method in class com.staros.manager.HttpService
 
Server - Interface in com.staros.util
 
Service - Class in com.staros.service
 
Service(String, String, String) - Constructor for class com.staros.service.Service
 
ServiceComponent - Class in com.staros.service
 
ServiceComponent(String) - Constructor for class com.staros.service.ServiceComponent
 
ServiceManager - Class in com.staros.service
Service Manager handles all operations that are related to Service, including service registration, service bootstrap, etc.
ServiceManager() - Constructor for class com.staros.service.ServiceManager
 
ServiceManager(JournalSystem, IdGenerator) - Constructor for class com.staros.service.ServiceManager
 
ServiceTemplate - Class in com.staros.service
 
ServiceTemplate(String, List<String>) - Constructor for class com.staros.service.ServiceTemplate
 
setBuiltin(boolean) - Method in class com.staros.filestore.AbstractFileStore
 
setBuiltin(boolean) - Method in class com.staros.filestore.DelegatedFileStore
 
setBuiltin(boolean) - Method in interface com.staros.filestore.FileStore
 
setEnabled(boolean) - Method in class com.staros.filestore.AbstractFileStore
 
setEnabled(boolean) - Method in class com.staros.filestore.DelegatedFileStore
 
setEnabled(boolean) - Method in interface com.staros.filestore.FileStore
 
setExpectedReplicaNum(int) - Method in class com.staros.shard.Shard
 
setFileCacheEnable(boolean) - Method in class com.staros.filecache.FileCache
 
setFileCacheEnable(boolean) - Method in class com.staros.shard.Shard
 
setFilePath(FilePath) - Method in class com.staros.shard.Shard
 
setFileStoreMgr(FileStoreMgr) - Method in class com.staros.service.Service
 
setLabels(Map<String, String>) - Method in class com.staros.worker.WorkerGroup
 
setListenAddressInfo(String, int) - Method in class com.staros.manager.StarManager
 
setNextId(long) - Method in class com.staros.util.IdGenerator
 
setProperties(Map<String, String>) - Method in class com.staros.shard.Shard
 
setProperties(Map<String, String>) - Method in class com.staros.worker.WorkerGroup
 
setReplayId(long) - Method in class com.staros.journal.DelegateJournalSystem
 
setReplayId(long) - Method in class com.staros.journal.DummyJournalSystem
 
setReplayId(long) - Method in interface com.staros.journal.JournalSystem
 
setReplicas(List<Replica>) - Method in class com.staros.shard.Shard
 
setRole(ReplicaRole) - Method in class com.staros.replica.Replica
 
setShardGroupIds(List<Long>) - Method in class com.staros.shard.MetaGroup
 
setShardManager(ShardManager) - Method in class com.staros.service.Service
 
setShardScheduler(Scheduler) - Method in class com.staros.service.ServiceManager
 
setState(ServiceState) - Method in class com.staros.service.Service
 
setState(ShardState) - Method in class com.staros.shard.Shard
 
setState(WorkerState) - Method in class com.staros.worker.Worker
 
setWorker(Worker) - Method in class com.staros.starlet.MockStarletAgent
 
setWorker(Worker) - Method in class com.staros.starlet.StarletAgent
 
Shard - Class in com.staros.shard
 
Shard(String, List<Long>, long) - Constructor for class com.staros.shard.Shard
 
Shard(String, List<Long>, long, FilePath, FileCache) - Constructor for class com.staros.shard.Shard
 
SHARD_CHECKER_LOOP_INTERVAL_SEC - Static variable in class com.staros.util.Config
shard checker loop interval in second
ShardChecker - Class in com.staros.shard
 
ShardChecker(ServiceManager, WorkerManager, Scheduler) - Constructor for class com.staros.shard.ShardChecker
 
ShardGroup - Class in com.staros.shard
 
ShardGroup(String, long) - Constructor for class com.staros.shard.ShardGroup
 
ShardGroup(String, long, PlacementPolicy, boolean, long) - Constructor for class com.staros.shard.ShardGroup
 
ShardGroup(String, long, PlacementPolicy, boolean, long, Map<String, String>, Map<String, String>) - Constructor for class com.staros.shard.ShardGroup
 
ShardGroup(ShardGroupInfo) - Constructor for class com.staros.shard.ShardGroup
 
shardGroupBalanceCheckForService(String) - Method in class com.staros.shard.ShardChecker
Check and balance shard group if needed
shardHealthCheck(Shard) - Method in class com.staros.shard.ShardChecker
Check given shard's replica status, remove dead replica and add missing replicas.
shardHealthCheckForService(String) - Method in class com.staros.shard.ShardChecker
check the shards inside a service
ShardManager - Class in com.staros.shard
Shard Manager manages all the shard for single service, including shard group operations and shard operations.
ShardManager(String, JournalSystem, IdGenerator, Scheduler) - Constructor for class com.staros.shard.ShardManager
 
ShardPlacementPolicy - Interface in com.staros.shard.policy
 
ShardPolicyFilter - Class in com.staros.shard
 
ShardPolicyFilter() - Constructor for class com.staros.shard.ShardPolicyFilter
 
ShardSchedulerV2 - Class in com.staros.schedule
Designed to be multi-services shared scheduler Assumptions: Uniqueness: * serviceId + shardId, globally unique * shardGroupId, globally unique * workerGroupId, globally unique * workerId, globally unique Two phases scheduling: - phase 1: calculation * select worker as target to add/remove shard replica - phase 2: dispatch * send RPC call to worker to make the change of the adding/removing shard replica, and update shard info upon success.
ShardSchedulerV2(ServiceManager, WorkerManager) - Constructor for class com.staros.schedule.ShardSchedulerV2
 
shutdown() - Method in class com.staros.manager.StarManagerServer
 
shutdownExecutorService(ExecutorService) - Static method in class com.staros.util.Utils
 
shutdownService(String) - Method in class com.staros.manager.StarManager
 
shutdownService(ShutdownServiceRequest, StreamObserver<ShutdownServiceResponse>) - Method in class com.staros.manager.StarManagerService
 
shutdownService(String) - Method in class com.staros.service.ServiceManager
Shutdown a service
SIMPLE_CREDENTIAL_ACCESS_KEY_ID - Static variable in class com.staros.util.Config
 
SIMPLE_CREDENTIAL_ACCESS_KEY_SECRET - Static variable in class com.staros.util.Config
 
StarletAgent - Class in com.staros.starlet
 
StarletAgent() - Constructor for class com.staros.starlet.StarletAgent
 
StarletAgentFactory - Class in com.staros.starlet
 
StarletAgentFactory() - Constructor for class com.staros.starlet.StarletAgentFactory
 
StarManager - Class in com.staros.manager
 
StarManager() - Constructor for class com.staros.manager.StarManager
 
StarManager(JournalSystem) - Constructor for class com.staros.manager.StarManager
 
StarManagerServer - Class in com.staros.manager
 
StarManagerServer() - Constructor for class com.staros.manager.StarManagerServer
 
StarManagerServer(JournalSystem) - Constructor for class com.staros.manager.StarManagerServer
 
StarManagerService - Class in com.staros.manager
 
StarManagerService(StarManager) - Constructor for class com.staros.manager.StarManagerService
 
STARMGR_IP - Static variable in class com.staros.util.Config
star manager ip address
STARMGR_RPC_PORT - Static variable in class com.staros.util.Config
star manager rpc port
starmgrHttpService(HttpRequest) - Method in class com.staros.manager.HttpService
 
StarMgrJournal - Class in com.staros.journal
 
StarMgrJournal() - Constructor for class com.staros.journal.StarMgrJournal
 
StarProvisionManageService - Class in com.staros.provisioner
 
StarProvisionManageService(StarProvisionServer) - Constructor for class com.staros.provisioner.StarProvisionManageService
 
StarProvisionServer - Class in com.staros.provisioner
 
StarProvisionServer() - Constructor for class com.staros.provisioner.StarProvisionServer
 
StarProvisionServerMain - Class in com.staros.provisioner
Convenient entry-point to run a standalone StarProvisionServer for testing java -cp com.staros.provisioner.StarProvisionServerMain [starmgr.conf] [persistent_datadir]
StarProvisionServerMain() - Constructor for class com.staros.provisioner.StarProvisionServerMain
 
StarProvisionService - Class in com.staros.provisioner
 
StarProvisionService(StarProvisionServer) - Constructor for class com.staros.provisioner.StarProvisionService
 
start(int) - Method in class com.staros.manager.StarManagerServer
 
start(String, int, Executor) - Method in class com.staros.manager.StarManagerServer
 
start() - Method in class com.staros.util.AbstractServer
 
start() - Method in interface com.staros.util.Server
 
start() - Method in class com.staros.worker.WorkerManager
 
startBackgroundThreads() - Method in class com.staros.manager.StarManager
 
stop() - Method in class com.staros.util.AbstractServer
 
stop() - Method in interface com.staros.util.Server
 
stop() - Method in class com.staros.worker.DefaultResourceManager
 
stop() - Method in class com.staros.worker.DummyResourceManager
 
stop() - Method in interface com.staros.worker.ResourceManager
 
stop() - Method in class com.staros.worker.WorkerManager
 
stopBackgroundThreads() - Method in class com.staros.manager.StarManager
 
suffix - Variable in class com.staros.filestore.FilePath
 
swapDelegation(FileStoreInfo) - Method in class com.staros.filestore.DelegatedFileStore
 

T

toDebugProtobuf() - Method in class com.staros.filestore.AbstractFileStore
 
toDebugProtobuf() - Method in class com.staros.filestore.AzBlobFileStore
 
toDebugProtobuf() - Method in class com.staros.filestore.DelegatedFileStore
 
toDebugProtobuf() - Method in class com.staros.filestore.FilePath
 
toDebugProtobuf() - Method in interface com.staros.filestore.FileStore
 
toDebugProtobuf() - Method in class com.staros.filestore.HDFSFileStore
 
toDebugProtobuf() - Method in class com.staros.filestore.S3FileStore
 
toDebugProtobuf() - Method in class com.staros.shard.Shard
 
toProtobuf() - Method in class com.staros.credential.AwsAssumeIamRoleCredential
 
toProtobuf(AwsCredential) - Static method in class com.staros.credential.AwsCredentialMgr
 
toProtobuf() - Method in class com.staros.credential.AwsDefaultCredential
 
toProtobuf() - Method in class com.staros.credential.AwsInstanceProfileCredential
 
toProtobuf() - Method in class com.staros.credential.AwsSimpleCredential
 
toProtobuf() - Method in class com.staros.credential.AzBlobCredential
 
toProtobuf() - Method in class com.staros.filecache.FileCache
 
toProtobuf() - Method in class com.staros.filestore.AbstractFileStore
 
toProtobuf() - Method in class com.staros.filestore.AzBlobFileStore
 
toProtobuf() - Method in class com.staros.filestore.DelegatedFileStore
 
toProtobuf() - Method in class com.staros.filestore.FilePath
 
toProtobuf() - Method in interface com.staros.filestore.FileStore
 
toProtobuf() - Method in class com.staros.filestore.HDFSFileStore
 
toProtobuf() - Method in class com.staros.filestore.S3FileStore
 
toProtobuf() - Method in class com.staros.replica.Replica
 
toProtobuf() - Method in class com.staros.service.Service
 
toProtobuf() - Method in class com.staros.service.ServiceComponent
 
toProtobuf() - Method in class com.staros.service.ServiceTemplate
 
toProtobuf() - Method in class com.staros.shard.MetaGroup
 
toProtobuf() - Method in class com.staros.shard.Shard
 
toProtobuf(boolean) - Method in class com.staros.shard.Shard
 
toProtobuf() - Method in class com.staros.shard.ShardGroup
 
toProtobuf() - Method in class com.staros.worker.Worker
 
toProtobuf() - Method in class com.staros.worker.WorkerGroup
 
toProtobufBuilder() - Method in class com.staros.filestore.AbstractFileStore
 
toProtobufInternal(boolean, boolean) - Method in class com.staros.shard.Shard
 
toString() - Method in class com.staros.worker.Worker
 
type() - Method in class com.staros.credential.AwsAssumeIamRoleCredential
 
type() - Method in interface com.staros.credential.AwsCredential
 
type() - Method in class com.staros.credential.AwsDefaultCredential
 
type() - Method in class com.staros.credential.AwsInstanceProfileCredential
 
type() - Method in class com.staros.credential.AwsSimpleCredential
 
type() - Method in class com.staros.filestore.AzBlobFileStore
 
type() - Method in class com.staros.filestore.DelegatedFileStore
 
type() - Method in interface com.staros.filestore.FileStore
 
type() - Method in class com.staros.filestore.HDFSFileStore
 
type() - Method in class com.staros.filestore.InvalidFileStore
 
type() - Method in class com.staros.filestore.S3FileStore
 

U

update(Worker) - Method in class com.staros.worker.Worker
 
updateDelegatedFileStoreSnapshot(FileStore) - Method in class com.staros.shard.ShardManager
 
updateFileStore(FileStore) - Method in class com.staros.filestore.FileStoreMgr
 
updateFileStore(String, FileStoreInfo) - Method in class com.staros.manager.StarManager
 
updateFileStore(UpdateFileStoreRequest, StreamObserver<UpdateFileStoreResponse>) - Method in class com.staros.manager.StarManagerService
 
updateFileStore(String, FileStoreInfo) - Method in class com.staros.service.ServiceManager
 
updateFileStore(FileStoreInfo) - Method in class com.staros.shard.Shard
 
updateInfo(long, Map<String, String>, long) - Method in class com.staros.worker.Worker
Update worker internal state.
updateLastSeenTime(long) - Method in class com.staros.worker.Worker
 
updateMetaGroup(String, UpdateMetaGroupInfo) - Method in class com.staros.manager.StarManager
 
updateMetaGroup(UpdateMetaGroupRequest, StreamObserver<UpdateMetaGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
updateMetaGroup(UpdateMetaGroupInfo) - Method in class com.staros.shard.ShardManager
 
updateShard(String, List<UpdateShardInfo>) - Method in class com.staros.manager.StarManager
 
updateShard(UpdateShardRequest, StreamObserver<UpdateShardResponse>) - Method in class com.staros.manager.StarManagerService
 
updateShard(List<UpdateShardInfo>) - Method in class com.staros.shard.ShardManager
 
updateShard(AddShardRequest) - Method in class com.staros.worker.Worker
 
updateShardGroup(String, List<UpdateShardGroupInfo>) - Method in class com.staros.manager.StarManager
 
updateShardGroup(UpdateShardGroupRequest, StreamObserver<UpdateShardGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
updateShardGroup(List<UpdateShardGroupInfo>) - Method in class com.staros.shard.ShardManager
 
updateSpec(WorkerGroupSpec) - Method in class com.staros.worker.WorkerGroup
 
updateState(WorkerGroupState) - Method in class com.staros.worker.WorkerGroup
 
updateWorker(Worker) - Method in class com.staros.worker.WorkerGroup
 
updateWorkerGroup(String, long, WorkerGroupSpec, Map<String, String>, Map<String, String>) - Method in class com.staros.manager.StarManager
 
updateWorkerGroup(UpdateWorkerGroupRequest, StreamObserver<UpdateWorkerGroupResponse>) - Method in class com.staros.manager.StarManagerService
 
updateWorkerGroup(String, long, WorkerGroupSpec, Map<String, String>, Map<String, String>) - Method in class com.staros.worker.WorkerManager
 
Utils - Class in com.staros.util
 
Utils() - Constructor for class com.staros.util.Utils
 

V

validateChecksum(MessageDigest, ByteString) - Static method in class com.staros.util.Utils
 
validateWorkerReportedReplicas(List<Long>, long) - Method in class com.staros.shard.ShardManager
Check missing replicas from the list of shards for the specific worker id, and remove non-exist replicas
version - Variable in class com.staros.filestore.AbstractFileStore
 

W

Worker - Class in com.staros.worker
 
Worker(String, long, long, String) - Constructor for class com.staros.worker.Worker
 
WORKER_HEARTBEAT_GRPC_RPC_TIME_OUT_SEC - Static variable in class com.staros.util.Config
GRPC TIMEOUT in seconds for heartbeat.
WORKER_HEARTBEAT_INTERVAL_SEC - Static variable in class com.staros.util.Config
worker heartbeat interval in second
WORKER_HEARTBEAT_RETRY_COUNT - Static variable in class com.staros.util.Config
worker heartbeat retry count before set it to DOWN state
WorkerGroup - Class in com.staros.worker
Worker Group manages a certain number of worker in one service.
WorkerGroup(String, long) - Constructor for class com.staros.worker.WorkerGroup
 
WorkerGroup(String, long, String, WorkerGroupSpec, Map<String, String>, Map<String, String>) - Constructor for class com.staros.worker.WorkerGroup
 
workerHeartbeat(WorkerHeartbeatRequest, StreamObserver<WorkerHeartbeatResponse>) - Method in class com.staros.manager.StarManagerService
 
WorkerManager - Class in com.staros.worker
Worker Manager handles all operations that are related to worker, such as add worker and remove worker.
WorkerManager(JournalSystem, IdGenerator) - Constructor for class com.staros.worker.WorkerManager
 
write(Journal) - Method in class com.staros.journal.DelegateJournalSystem
 
write(Journal) - Method in class com.staros.journal.DummyJournalSystem
 
write(Journal) - Method in interface com.staros.journal.JournalSystem
 
write(DataOutput) - Method in class com.staros.service.Service
 
write(DataOutput) - Method in class com.staros.service.ServiceTemplate
 
write(DataOutput) - Method in class com.staros.shard.MetaGroup
 
write(DataOutput) - Method in class com.staros.shard.Shard
 
write(DataOutput) - Method in class com.staros.shard.ShardGroup
 
write(DataOutput) - Method in class com.staros.worker.Worker
 
write(DataOutput) - Method in class com.staros.worker.WorkerGroup
 
writeAsync(Journal) - Method in class com.staros.journal.DelegateJournalSystem
 
writeAsync(Journal) - Method in class com.staros.journal.DummyJournalSystem
 
writeAsync(Journal) - Method in interface com.staros.journal.JournalSystem
 
writeInternal(Journal) - Method in class com.staros.journal.DummyJournalSystem
 
writeLock() - Method in class com.staros.service.ServiceManager
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2024. All rights reserved.