- call() - Method in class ml.shifu.guagua.BasicCoordinator.GetSplitBytes
-
- call() - Method in class ml.shifu.guagua.BasicCoordinator.SaveResultToZookeeper
-
- callback(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.master.MasterContext.MasterCompletionCallBack
-
Callback function which will be called at the end of last iteration of master computation.
- callback(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.worker.WorkerContext.WorkerCompletionCallBack
-
Callback function which will be called at the end of last iteration of worker computation.
- checkAndSetZooKeeper(Properties) - Method in class ml.shifu.guagua.BasicCoordinator
-
Set up connection with given zookeeper settings.
- checkIfEmbedZooKeeperStarted(int) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Wait for a time period until zookeeper server is started.
- checkServers(String) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Check zookeeper servers, if one of them is alive, return true;
- ClassUtils - Class in ml.shifu.guagua.util
-
A helper class for java reflection.
- cleanDirectory(File) - Static method in class ml.shifu.guagua.util.FileUtils
-
Cleans a directory without deleting it.
- cleanup(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.HookMasterComputable
-
Cleanup method for master computation.
- cleanup(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.HookWorkerComputable
-
Cleanup method for master computation.
- clear() - Method in interface ml.shifu.guagua.util.AppendList
-
Clear all elements.
- clear() - Method in class ml.shifu.guagua.util.BytableDiskList
-
Delete file to store elements.
- clear() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
- clear() - Method in class ml.shifu.guagua.util.DiskList
-
- clear() - Method in class ml.shifu.guagua.util.MemoryDiskList
-
- clear() - Method in class ml.shifu.guagua.util.MemoryLimitedList
-
- close() - Method in class ml.shifu.guagua.BasicCoordinator
-
Close resources like zookeeper, thread pool
- close() - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Close this client object.
- close() - Method in interface ml.shifu.guagua.io.GuaguaRecordReader
-
Close resources at last, for example file descriptors.
- close() - Method in class ml.shifu.guagua.util.BytableDiskList
-
This method should be called at the end of
BytableDiskList usage to release file descriptors.
- close() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
Close disk stream.
- close() - Method in class ml.shifu.guagua.util.DiskList
-
This method should be called at the end of
DiskList usage to release file descriptors.
- close() - Method in class ml.shifu.guagua.util.MemoryDiskList
-
Close disk stream.
- CMD - Static variable in class ml.shifu.guagua.util.JMap
-
The command to run
- Combinable<RESULT extends Bytable> - Interface in ml.shifu.guagua.io
-
Combinable is to combine
Bytable results together to save memory in master computation.
- combine(RESULT) - Method in interface ml.shifu.guagua.io.Combinable
-
Combine result to existing one.
- ComputableMonitor - Annotation Type in ml.shifu.guagua
-
Master and Worker computable maximal time out setting.
- compute(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.AbstractMasterComputable
-
- compute(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.HookMasterComputable
-
- compute(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.master.MasterComputable
-
Master computation for each iteration.
- compute(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractCombineWorkerComputable
-
- compute(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractWorkerComputable
-
- compute(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.HookWorkerComputable
-
- compute(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.worker.WorkerComputable
-
Worker computation for each iteration.
- CoordinatorFactory<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Interface in ml.shifu.guagua
-
Coordinator factory to create sync or async coordinator.
- createExt(String, byte[], List<ACL>, CreateMode, boolean) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Provides a possibility of a creating a path consisting of more than one znode (not atomic).
- createMasterCoordinator() - Method in class ml.shifu.guagua.AsyncCoordinatorFactory
-
- createMasterCoordinator() - Method in interface ml.shifu.guagua.CoordinatorFactory
-
Create coordinator instance for master.
- createMasterCoordinator() - Method in class ml.shifu.guagua.SyncCoordinatorFactory
-
- createOnceExt(String, byte[], List<ACL>, CreateMode, boolean) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Create a znode if there is no other znode there
- createOrSetExt(String, byte[], List<ACL>, CreateMode, boolean, int) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Create a znode.
- createWorkerCoordinator() - Method in class ml.shifu.guagua.AsyncCoordinatorFactory
-
- createWorkerCoordinator() - Method in interface ml.shifu.guagua.CoordinatorFactory
-
Create coordinator instance for worker.
- createWorkerCoordinator() - Method in class ml.shifu.guagua.SyncCoordinatorFactory
-
- GcMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.master
-
GcMasterInterceptor is used to log gc time of preXXXX of interceptors, master computation and postXXXX of
interceptors.
- GcMasterInterceptor() - Constructor for class ml.shifu.guagua.master.GcMasterInterceptor
-
- GcWorkerInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.worker
-
GcWorkerInterceptor is used to log gc time of preXXXX of interceptors, worker computation and postXXXX of
interceptors.
- GcWorkerInterceptor() - Constructor for class ml.shifu.guagua.worker.GcWorkerInterceptor
-
- generateWorkerSplits(String) - Method in class ml.shifu.guagua.unit.GuaguaUnitDriver
-
Generate file splits according to inputs.
- get(int) - Method in class ml.shifu.guagua.util.MemoryLimitedList
-
Retrieve record given index.
- get(String) - Static method in class ml.shifu.guagua.util.StringUtils
-
Return string object.
- get(String, boolean) - Static method in class ml.shifu.guagua.util.StringUtils
-
Return string object.
- get(String, String) - Static method in class ml.shifu.guagua.util.StringUtils
-
Return string object.
- get(String, boolean, String) - Static method in class ml.shifu.guagua.util.StringUtils
-
Return string object.
- getAllFields(Class<?>) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Given a class instance, return all fields, including fields in super classes.
- getAllMethods(Class<?>) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Given a class instance, return all methods, including methods in super classes.
- getAppId() - Method in class ml.shifu.guagua.master.AsyncMasterCoordinator
-
- getAppId() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getAppId() - Method in class ml.shifu.guagua.master.MasterContext
-
- getAppId() - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- getAppId() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getAppId() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getAppNode(String) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getAttachment() - Method in class ml.shifu.guagua.master.MasterContext
-
- getAttachment() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getBaseMasterElectionNode(String) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getBytes() - Method in class ml.shifu.guagua.io.BytableWrapper
-
- getBytesFromZNode(String, String) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getCallBackList() - Method in class ml.shifu.guagua.master.MasterContext
-
- getCallBackList() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getChildrenExt(String, boolean, boolean, Comparator<String>) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Get the children of the path with extensions.
- getChildrenExt(String, boolean, boolean, boolean) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Get the children of the path with extensions.
- getChildrenExt(String, boolean, boolean, boolean, GuaguaZooKeeper.Filter) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Get the children of the path with extensions.
- getContainerId() - Method in class ml.shifu.guagua.io.BytableWrapper
-
- getContainerId() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getContainerId() - Method in class ml.shifu.guagua.master.MasterContext
-
- getContainerId() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getContainerId() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getContext() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getCoordinator() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getCoordinator() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getCurrentIteration() - Method in class ml.shifu.guagua.io.BytableWrapper
-
- getCurrentIteration() - Method in class ml.shifu.guagua.master.AsyncMasterCoordinator
-
- getCurrentIteration() - Method in class ml.shifu.guagua.master.MasterContext
-
- getCurrentIteration() - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- getCurrentIteration() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getCurrentKey() - Method in interface ml.shifu.guagua.io.GuaguaRecordReader
-
Tmp we only support LongWritable key for byte offset in each line, follow LineRecordReader in hadoop.
- getCurrentMasterNode(String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getCurrentMasterSplitNode(String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getCurrentValue() - Method in interface ml.shifu.guagua.io.GuaguaRecordReader
-
Tmp we only support Text value for whole content in each line, follow LineRecordReader in hadoop.
- getCurrentWorkerNode(String, String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getCurrentWorkerSplitNode(String, String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getData(String, Watcher, Stat) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Return the data and the stat of the node of the given path.
- getData(String, boolean, Stat) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Return the data and the stat of the node of the given path.
- getDeclaredFieldIncludeSuper(String, Class<?>) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Get declared field given field name including fields in super classes.
- getDeclaredMethod(String, Class<?>) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Return declared method with empty parameter.
- getDiskCount() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
- getDouble(String, double) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to double type.
- getDouble(String) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to double type.
- getDouble(String, boolean) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to double type.
- getDouble(String, boolean, double) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to double type.
- getElapsedTime() - Method in class ml.shifu.guagua.BasicCoordinator.RetryCoordinatorCommand
-
- getExtension() - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- getFieldValue(String, Class<?>, Object) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Return field value according to field name, class, instance.All exceptions are wrapped as RuntimeException.
- getFileSplits() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getFirstMethodWithName(String, Class<?>) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Iterate all methods including methods in super class, return the first one; if no method with such name, return
null.
- getFloat(String, float) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to float type.
- getFloat(String) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to float type.
- getFloat(String, boolean) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to float type.
- getFloat(String, boolean, float) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to float type.
- getInt(String, int) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to int type.
- getInt(String) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to int type.
- getInt(String, boolean) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to int type.
- getInt(String, boolean, int) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to int type.
- getLastMasterNode(String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getLastMasterResult() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getLastWorkerNode(String, String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getLength() - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- getLong(String, long) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to long type.
- getLong(String) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to long type.
- getLong(String, boolean) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to long type.
- getLong(String, boolean, long) - Static method in class ml.shifu.guagua.util.NumberFormatUtils
-
Parse string object to long type.
- getMasterBaseNode(String) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getMasterComputable() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getMasterElectionNode(String, long) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getMasterInterceptors() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getMasterNode(String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getMasterResult() - Method in class ml.shifu.guagua.InMemoryCoordinator
-
- getMasterResult() - Method in class ml.shifu.guagua.master.MasterContext
-
- getMasterResultClassName() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getMasterResultClassName() - Method in class ml.shifu.guagua.master.MasterContext
-
- getMasterResultClassName() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getMasterResultClassName() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getMasterSerializer() - Method in class ml.shifu.guagua.BasicCoordinator
-
- getMaxRetryAttempts() - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
- getMemoryCount() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
- getMethod(Class<?>, String) - Static method in class ml.shifu.guagua.util.ReflectionUtils
-
Just to check if has method with methodName.
- getMinWorkersRatio() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getMinWorkersRatio() - Method in class ml.shifu.guagua.master.MasterContext
-
- getMinWorkersTimeOut() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getMinWorkersTimeOut() - Method in class ml.shifu.guagua.master.MasterContext
-
- getMyBid() - Method in class ml.shifu.guagua.master.AbstractMasterCoordinator
-
- getOffset() - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- getPath() - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper.PathStat
-
Get the path of the created znode if it was created.
- getPath() - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- getProcessId() - Static method in class ml.shifu.guagua.util.JMap
-
Get the process ID of the current running process
- getProps() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getProps() - Method in class ml.shifu.guagua.master.MasterContext
-
- getProps() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getProps() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getRecordReader() - Method in class ml.shifu.guagua.worker.AbstractCombineWorkerComputable
-
- getRecordReader() - Method in class ml.shifu.guagua.worker.AbstractWorkerComputable
-
- getRetryWaitMsecs() - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
- getRootNode() - Method in class ml.shifu.guagua.BasicCoordinator
-
- getRuntimeMemoryStats() - Static method in class ml.shifu.guagua.util.MemoryUtils
-
Get runtime memory stats
- getSerializer() - Method in class ml.shifu.guagua.util.BytableDiskList
-
- getSerializer() - Method in class ml.shifu.guagua.util.DiskList
-
- getSleepTime() - Method in class ml.shifu.guagua.BasicCoordinator
-
- getSplits() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getStat() - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper.PathStat
-
Get the stat of the set znode if set
- getTempDirectory() - Static method in class ml.shifu.guagua.util.FileUtils
-
Returns a
File representing the system temporary directory.
- getTempDirectoryPath() - Static method in class ml.shifu.guagua.util.FileUtils
-
Returns the path to the system temporary directory.
- getTotalIteration() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getTotalIteration() - Method in class ml.shifu.guagua.master.MasterContext
-
- getTotalIteration() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getTotalIteration() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getUserDirectory() - Static method in class ml.shifu.guagua.util.FileUtils
-
Returns a
File representing the user's home directory.
- getUserDirectoryPath() - Static method in class ml.shifu.guagua.util.FileUtils
-
Returns the path to the user's home directory.
- getValidServerPort(int) - Static method in class ml.shifu.guagua.util.NetworkUtils
-
Get valid TCP server port.
- getValidZooKeeperPort() - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Check from DEFAULT_ZK_PORT to (DEFAULT_ZK_PORT + TRY_PORT_COUNT) to see if there is valid port to launch embed
zookeeper server.
- getWorkerBaseNode(String) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getWorkerBaseNode(String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getWorkerComputable() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getWorkerInterceptors() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getWorkerNode(String, String, int) - Method in class ml.shifu.guagua.BasicCoordinator
-
- getWorkerResult() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getWorkerResultClassName() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getWorkerResultClassName() - Method in class ml.shifu.guagua.master.MasterContext
-
- getWorkerResultClassName() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- getWorkerResultClassName() - Method in class ml.shifu.guagua.worker.WorkerContext
-
- getWorkerResults() - Method in class ml.shifu.guagua.InMemoryCoordinator
-
- getWorkerResults() - Method in class ml.shifu.guagua.master.MasterContext
-
- getWorkers() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- getWorkers() - Method in class ml.shifu.guagua.master.MasterContext
-
- getWorkerSerializer() - Method in class ml.shifu.guagua.BasicCoordinator
-
- getZkConnLatch() - Method in class ml.shifu.guagua.BasicCoordinator
-
- getZooKeeper() - Method in class ml.shifu.guagua.BasicCoordinator
-
- getZooKeeper() - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
- GUAGUA - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_CHILD_DEFAULT_ZKSERVER_OPTS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_CHILD_ZKSERVER_OPTS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_CLEANUP_INTERVAL - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_CLUSTER_ZOOKEEPER_SERVER_FILE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_COMPUTATION_TIME_THRESHOLD - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_COORDINATOR_FIXED_SLEEP - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_COORDINATOR_FIXED_SLEEP_ENABLE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_COORDINATOR_SLEEP_UNIT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_DEFAULT_CLEANUP_INTERVAL - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_DEFAULT_COMPUTATION_TIME_THRESHOLD - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_DEFAULT_ITERATION_COUNT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_DEFAULT_MIN_WORKERS_RATIO - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_DEFAULT_MIN_WORKERS_TIMEOUT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_FIRST_ITERATION - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_INIT_DONE_NODE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_INIT_STEP - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_INPUT_DIR - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_INTERCEPTOR_SEPARATOR - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_IO_DEFAULT_SERIALIZER - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ITERATION_COUNT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_DEFAULT_SYSTEM_INTERCEPTERS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_ELECTION - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_INTERCEPTERS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_IO_SERIALIZER - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_NUMBER - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_RESULT_CLASS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_RESULT_MERGE_THRESHOLD - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_RESULT_NONSPILL - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_SYSTEM_INTERCEPTERS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_WORKERESULTS_DEFAULT_MEMORY_FRACTION - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MASTER_WORKERESULTS_MEMORY_FRACTION - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MIN_WORKERS_RATIO - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_MIN_WORKERS_TIMEOUT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_NETTY_SERVER_DEFAULT_THREAD_COUNT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_NETTY_SEVER_DEFAULT_PORT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_NETTY_SEVER_PORT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_SITE_FILE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_SPLIT_COMBINABLE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_SPLIT_MAX_COMBINED_SPLIT_SIZE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_STRAGGLER_ITERATORS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_UNREGISTER_MASTER_TIMEROUT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_DEFAULT_HALT_ENABLE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_DEFAULT_SYSTEM_INTERCEPTERS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_HALT_ENABLE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_INTERCEPTERS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_IO_SERIALIZER - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_NUMBER - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_RESULT_CLASS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_WORKER_SYSTEM_INTERCEPTERS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_CLEANUP_ENABLE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_CLUSTER_SERVER_FOLDER - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_DATA_LIMIT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
Zookeeper data limit is 1M, use 1023K for safety.
- GUAGUA_ZK_DEFAULT_CLEANUP_VALUE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_DEFAULT_MAX_ATTEMPTS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_DEFAULT_RETRY_WAIT_MILLS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_EMBEDBED_IS_IN_CLIENT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_EMBEDED - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_HEARTBEAT_ENABLED - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_MASTER_NODE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_MAX_ATTEMPTS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_RETRY_WAIT_MILLS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_ROOT_NODE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_SERVERS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_SESSION_TIMEOUT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_SESSON_DEFAULT_TIMEOUT - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_SPLIT_NODE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GUAGUA_ZK_WORKERS_NODE - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- GuaguaConstants - Class in ml.shifu.guagua
-
- GuaguaException - Exception in ml.shifu.guagua
-
- GuaguaException() - Constructor for exception ml.shifu.guagua.GuaguaException
-
Constructs an GuaguaException with null as its error detail message.
- GuaguaException(String) - Constructor for exception ml.shifu.guagua.GuaguaException
-
Constructs an GuaguaException with the specified detail message.
- GuaguaException(String, Throwable) - Constructor for exception ml.shifu.guagua.GuaguaException
-
Constructs an GuaguaException with the specified detail message and cause.
- GuaguaException(Throwable) - Constructor for exception ml.shifu.guagua.GuaguaException
-
Constructs an GuaguaException with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail message of
cause).
- GuaguaFileSplit - Class in ml.shifu.guagua.io
-
- GuaguaFileSplit() - Constructor for class ml.shifu.guagua.io.GuaguaFileSplit
-
Default constructor.
- GuaguaFileSplit(String, long, long) - Constructor for class ml.shifu.guagua.io.GuaguaFileSplit
-
- GuaguaMasterService<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.master
-
GuaguaMasterService is the basic implementation as a master for whole guagua application process.
- GuaguaMasterService() - Constructor for class ml.shifu.guagua.master.GuaguaMasterService
-
- GuaguaRecordReader<KEY extends Bytable,VALUE extends Bytable> - Interface in ml.shifu.guagua.io
-
GuaguaRecordReader is used for consistent interface to iterate data through FileSplit provided.
- GuaguaRuntimeException - Exception in ml.shifu.guagua
-
GuaguaRuntimeException which is used to wrap all
RuntimeExceptions in guagua framework.
- GuaguaRuntimeException() - Constructor for exception ml.shifu.guagua.GuaguaRuntimeException
-
Constructs a new guagua runtime exception with null as its detail message.
- GuaguaRuntimeException(String) - Constructor for exception ml.shifu.guagua.GuaguaRuntimeException
-
Constructs a new guagua runtime exception with the specified detail message.
- GuaguaRuntimeException(String, Throwable) - Constructor for exception ml.shifu.guagua.GuaguaRuntimeException
-
Constructs a new guagua runtime exception with the specified detail message and cause.
- GuaguaRuntimeException(Throwable) - Constructor for exception ml.shifu.guagua.GuaguaRuntimeException
-
Constructs a new guagua runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause).
- GuaguaService - Interface in ml.shifu.guagua
-
GuaguaService is a common service interface of both master and worker service implementations.
- GuaguaUnitDriver<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.unit
-
GuaguaUnitDriver is a helper class to run master, worker and intercepters in one jvm instance.
- GuaguaUnitDriver(Properties) - Constructor for class ml.shifu.guagua.unit.GuaguaUnitDriver
-
- GuaguaWorkerService<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.worker
-
- GuaguaWorkerService() - Constructor for class ml.shifu.guagua.worker.GuaguaWorkerService
-
- GuaguaZooKeeper - Class in ml.shifu.guagua.coordinator.zk
-
ZooKeeper provides only atomic operations.
- GuaguaZooKeeper(String, int, int, int, Watcher) - Constructor for class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Constructor to connect to ZooKeeper, make progress
- GuaguaZooKeeper.Filter - Interface in ml.shifu.guagua.coordinator.zk
-
- GuaguaZooKeeper.PathStat - Class in ml.shifu.guagua.coordinator.zk
-
Data structure for handling the output of createOrSet()
- GuaguaZooKeeper.PathStat(String, Stat) - Constructor for class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper.PathStat
-
Put in results from createOrSet()
- GuaguaZooKeeperOperation<T> - Interface in ml.shifu.guagua.coordinator.zk
-
GuaguaZooKeeperOperation is used as command to process consistent logic like re-trying for all zookeeper
operations (create, get, ...).
- GZIPBytableSerializer<RESULT extends Bytable> - Class in ml.shifu.guagua.io
-
- GZIPBytableSerializer() - Constructor for class ml.shifu.guagua.io.GZIPBytableSerializer
-
- init(Properties) - Method in interface ml.shifu.guagua.GuaguaService
-
Service initialization.
- init(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.AbstractMasterComputable
-
Initialization logic.
- init(Properties) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
Parameter initialization, such as set result class name, iteration number and so on.
- init(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractCombineWorkerComputable
-
Initialization work for the whole computation
- init(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractWorkerComputable
-
Initialization work for the whole computation
- init(Properties) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
Parameter initialization, such as set result class name, iteration number and so on.
- INITAL_ZK_PORT - Static variable in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Initial zookeeper port used for check valid zookeeper port.
- initialize(Properties) - Method in class ml.shifu.guagua.BasicCoordinator
-
Coordinator initialization.
- initialize(GuaguaFileSplit) - Method in interface ml.shifu.guagua.io.GuaguaRecordReader
-
Initialize file split for user to create relative reader instance.
- initialize(Properties) - Method in class ml.shifu.guagua.master.NettyMasterCoordinator
-
- initRecordReader(GuaguaFileSplit) - Method in class ml.shifu.guagua.worker.AbstractCombineWorkerComputable
-
- initRecordReader(GuaguaFileSplit) - Method in class ml.shifu.guagua.worker.AbstractWorkerComputable
-
- InMemoryCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua
-
- InMemoryCoordinator(int, int) - Constructor for class ml.shifu.guagua.InMemoryCoordinator
-
- invokeMethod(Method, Object, Object...) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Call method through java reflection.
- invokeMethod(String, Class<?>, Object, Object...) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Call method through java reflection.
- isAllWorkersHalt(Iterable<WORKER_RESULT>) - Method in class ml.shifu.guagua.master.AbstractMasterCoordinator
-
Check whether all workers are halted.
- isFirstIteration() - Method in class ml.shifu.guagua.master.MasterContext
-
Whether is in first iteration, default first iteration is 1.
- isFirstIteration() - Method in class ml.shifu.guagua.worker.WorkerContext
-
Whether is in first iteration, default first iteration is 1.
- isFixedTime() - Method in class ml.shifu.guagua.BasicCoordinator
-
- isHalt() - Method in class ml.shifu.guagua.io.HaltBytable
-
Return halt status.
- isInitialized - Variable in class ml.shifu.guagua.master.AbstractMasterComputable
-
- isInitIteration() - Method in class ml.shifu.guagua.master.MasterContext
-
Whether is in initiate iteration, default initiate iteration is 1.
- isInitIteration() - Method in class ml.shifu.guagua.worker.WorkerContext
-
Whether is in initiate iteration, default initiate iteration is 1.
- isServerAlive(InetAddress, int) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Check whether a server is alive.
- isServerAlive(String, int) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Check whether a server is alive.
- isServerAlive(String, int) - Static method in class ml.shifu.guagua.util.NetworkUtils
-
Check whether a server is alive.
- isServerAlive(InetAddress, int) - Static method in class ml.shifu.guagua.util.NetworkUtils
-
Check whether a server is alive.
- isStopMessage() - Method in class ml.shifu.guagua.io.BytableWrapper
-
- isSymlink(File) - Static method in class ml.shifu.guagua.util.FileUtils
-
Determines whether the specified file is a Symbolic Link rather than an actual file.
- isTerminated(int, int, double, long) - Method in class ml.shifu.guagua.BasicCoordinator.RetryCoordinatorCommand
-
- iterate(MasterContext<MASTER_RESULT, WORKER_RESULT>, int, Progressable) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
Call each iteration computation and preIteration, postIteration in interceptors.
- iterate(WorkerContext<MASTER_RESULT, WORKER_RESULT>, int, Progressable) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
Call each iteration computation and preIteration, postIteration in interceptors.
- iterator() - Method in class ml.shifu.guagua.util.BytableDiskList
-
- iterator() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
- iterator() - Method in class ml.shifu.guagua.util.DiskList
-
- iterator() - Method in class ml.shifu.guagua.util.MemoryDiskList
-
- iterator() - Method in class ml.shifu.guagua.util.MemoryLimitedList
-
- main(String[]) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperMain
-
- MASTER_COMPUTABLE_CLASS - Static variable in class ml.shifu.guagua.GuaguaConstants
-
- MasterComputable<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Interface in ml.shifu.guagua.master
-
- MasterComputableTimer<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.master
-
- MasterComputableTimer() - Constructor for class ml.shifu.guagua.master.MasterComputableTimer
-
- MasterContext<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.master
-
MasterContext is a context object which contains all useful info used in master computation.
- MasterContext(int, int, Properties, String, String, String, String, double, long) - Constructor for class ml.shifu.guagua.master.MasterContext
-
- MasterContext.MasterCompletionCallBack<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Interface in ml.shifu.guagua.master
-
Define callback for completion of master computation.
- masterInitLock - Variable in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
Lock is used to check register info from master.
- MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Interface in ml.shifu.guagua.master
-
- masterIterationLock - Variable in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
Lock is used to check iteration info from master.
- MasterTimer<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.master
-
MasterTimer is used to log execution time of preXXXX of interceptors, master computation and postXXXX of
interceptors.
- MasterTimer() - Constructor for class ml.shifu.guagua.master.MasterTimer
-
- maxMemoryMB() - Static method in class ml.shifu.guagua.util.MemoryUtils
-
Get maximum memory in megabytes
- MemoryDiskList<T extends Serializable> - Class in ml.shifu.guagua.util
-
A list to store data firstly into memory then into disk if over threshold.
- MemoryDiskList(long, List<T>) - Constructor for class ml.shifu.guagua.util.MemoryDiskList
-
- MemoryDiskList(List<T>) - Constructor for class ml.shifu.guagua.util.MemoryDiskList
-
- MemoryDiskList(long, List<T>, String) - Constructor for class ml.shifu.guagua.util.MemoryDiskList
-
- MemoryDiskList(long, String) - Constructor for class ml.shifu.guagua.util.MemoryDiskList
-
Constructor with max bytes size of memory and disk file name in current working dir.
- MemoryDiskList(long) - Constructor for class ml.shifu.guagua.util.MemoryDiskList
-
Constructor with only memory bytes size limit.
- MemoryDiskList() - Constructor for class ml.shifu.guagua.util.MemoryDiskList
-
Default constructor.
- MemoryLimitedList<T> - Class in ml.shifu.guagua.util
-
A simple wrapper list with limited byte size.
- MemoryLimitedList(long, List<T>) - Constructor for class ml.shifu.guagua.util.MemoryLimitedList
-
Constructor with max bytes size limit and delegation list.
- MemoryLimitedList(List<T>) - Constructor for class ml.shifu.guagua.util.MemoryLimitedList
-
Constructor with delegation list
- MemoryStatsMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.master
-
- MemoryStatsMasterInterceptor() - Constructor for class ml.shifu.guagua.master.MemoryStatsMasterInterceptor
-
- MemoryStatsWorkerInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.worker
-
- MemoryStatsWorkerInterceptor() - Constructor for class ml.shifu.guagua.worker.MemoryStatsWorkerInterceptor
-
- MemoryUtils - Class in ml.shifu.guagua.util
-
Helper static methods for tracking memory usage.
- ml.shifu.guagua - package ml.shifu.guagua
-
This package contains some common classes for both master and worker.
- ml.shifu.guagua.coordinator.zk - package ml.shifu.guagua.coordinator.zk
-
This package contains zookeeper wrapper to talk with ZooKeeper servers.
- ml.shifu.guagua.io - package ml.shifu.guagua.io
-
This package contains guagua own io settings.
- ml.shifu.guagua.master - package ml.shifu.guagua.master
-
This package contains guagua master implementation.
- ml.shifu.guagua.unit - package ml.shifu.guagua.unit
-
This package is used to run guagua master-workers in one jvm instance.
- ml.shifu.guagua.util - package ml.shifu.guagua.util
-
This package contains some useful utility functions to help guagua-core.
- ml.shifu.guagua.worker - package ml.shifu.guagua.worker
-
This package contains guagua worker implementation.
- populateZooKeeperConfFile(String, Map<String, String>) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Create zoo.cfg file to launch a embed zookeeper server.
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.AbstractMasterCoordinator
-
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.BasicMasterInterceptor
-
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.GcMasterInterceptor
-
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterComputableTimer
-
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.master.MasterInterceptor
-
The hook point after any computation logic.
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterTimer
-
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MemoryStatsMasterInterceptor
-
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.NettyMasterCoordinator
-
Wait for unregister message for all workers and then clean all znodes existing for this job.
- postApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.TraceMasterInterceptor
-
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractWorkerCoordinator
-
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.BasicWorkerInterceptor
-
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.GcWorkerInterceptor
-
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.MemoryStatsWorkerInterceptor
-
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.NettyWorkerCoordinator
-
Send stop message to master and then clean resources.
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.TraceWorkerInterceptor
-
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerComputableTimer
-
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.worker.WorkerInterceptor
-
The hook point after any computation logic.
- postApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerTimer
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.AbstractMasterCoordinator
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.BasicMasterInterceptor
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.GcMasterInterceptor
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.LocalMasterCoordinator
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterComputableTimer
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.master.MasterInterceptor
-
The hook point after computation of each iteration.
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterTimer
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MemoryStatsMasterInterceptor
-
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.NettyMasterCoordinator
-
Update master computable result to master znode.
- postIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.TraceMasterInterceptor
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.BasicWorkerInterceptor
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.GcWorkerInterceptor
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.LocalWorkerCoordinator
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.MemoryStatsWorkerInterceptor
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.NettyWorkerCoordinator
-
Send worker results to master; wait for current master stop; get current master result.
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.SyncWorkerCoordinator
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.TraceWorkerInterceptor
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerComputableTimer
-
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.worker.WorkerInterceptor
-
The hook point after computation of each iteration.
- postIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerTimer
-
- postLoad(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractCombineWorkerComputable
-
Do some post work after loading data.
- postLoad(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractWorkerComputable
-
Do some post work before loading data.
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.AsyncMasterCoordinator
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.BasicMasterInterceptor
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.GcMasterInterceptor
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.LocalMasterCoordinator
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterComputableTimer
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.master.MasterInterceptor
-
The hook point before any computation logic.
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterTimer
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MemoryStatsMasterInterceptor
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.NettyMasterCoordinator
-
Do initialization and fail-over checking before all iterations.
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.SyncMasterCoordinator
-
- preApplication(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.TraceMasterInterceptor
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.BasicWorkerInterceptor
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.GcWorkerInterceptor
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.LocalWorkerCoordinator
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.MemoryStatsWorkerInterceptor
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.NettyWorkerCoordinator
-
Worker coordinator initialization.
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.SyncWorkerCoordinator
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.TraceWorkerInterceptor
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerComputableTimer
-
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.worker.WorkerInterceptor
-
The hook point before any computation logic.
- preApplication(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerTimer
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.AsyncMasterCoordinator
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.BasicMasterInterceptor
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.GcMasterInterceptor
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.LocalMasterCoordinator
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterComputableTimer
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.master.MasterInterceptor
-
The hook point before computation of each iteration.
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterTimer
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MemoryStatsMasterInterceptor
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.NettyMasterCoordinator
-
Wait for all workers done in current iteration.
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.SyncMasterCoordinator
-
- preIteration(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.TraceMasterInterceptor
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractWorkerCoordinator
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.BasicWorkerInterceptor
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.GcWorkerInterceptor
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.LocalWorkerCoordinator
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.MemoryStatsWorkerInterceptor
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.NettyWorkerCoordinator
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.TraceWorkerInterceptor
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerComputableTimer
-
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in interface ml.shifu.guagua.worker.WorkerInterceptor
-
The hook point before computation of each iteration.
- preIteration(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.WorkerTimer
-
- preLoad(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractCombineWorkerComputable
-
Do some pre work before loading data.
- preLoad(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.AbstractWorkerComputable
-
Do some pre work before loading data.
- prepZooKeeperConf(String, String, String) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Create zookeeper file with specified name and client port setting.
- process(WatchedEvent) - Method in class ml.shifu.guagua.BasicCoordinator
-
- process(WatchedEvent) - Method in class ml.shifu.guagua.master.AsyncMasterCoordinator
-
- process(WatchedEvent) - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- progress(int, int, String, boolean, boolean) - Method in interface ml.shifu.guagua.util.Progressable
-
Report progress to caller.
- Progressable - Interface in ml.shifu.guagua.util
-
A facility for reporting progress.
- ProgressLock - Class in ml.shifu.guagua.util
-
A lock with a predicate that was be used to synchronize events and keep the job updated while waiting.
- ProgressLock() - Constructor for class ml.shifu.guagua.util.ProgressLock
-
Constructor with default values.
- ProgressLock(int) - Constructor for class ml.shifu.guagua.util.ProgressLock
-
Constructor.
- readFields(DataInput) - Method in interface ml.shifu.guagua.io.Bytable
-
De-serialize the fields of this object from in.
- readFields(DataInput) - Method in class ml.shifu.guagua.io.BytableWrapper
-
- readFields(DataInput) - Method in class ml.shifu.guagua.io.HaltBytable
-
- readLines(File, String) - Static method in class ml.shifu.guagua.util.FileUtils
-
Reads the contents of a file line by line to a List of Strings.
- readLines(File) - Static method in class ml.shifu.guagua.util.FileUtils
-
Reads the contents of a file line by line to a List of Strings using the default encoding for the VM.
- readLines(InputStream) - Static method in class ml.shifu.guagua.util.FileUtils
-
Get the contents of an InputStream as a list of Strings,
one entry per line, using the default character encoding of the platform.
- readLines(InputStream, String) - Static method in class ml.shifu.guagua.util.FileUtils
-
Get the contents of an InputStream as a list of Strings,
one entry per line, using the specified character encoding.
- readLines(Reader) - Static method in class ml.shifu.guagua.util.FileUtils
-
Get the contents of a Reader as a list of Strings,
one entry per line.
- ReflectionUtils - Class in ml.shifu.guagua.util
-
- reOpen() - Method in class ml.shifu.guagua.util.BytableDiskList
-
Re-open stream for iterators.
- reOpen() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
Reopen stream for iteration.
- reOpen() - Method in class ml.shifu.guagua.util.DiskList
-
Re-open stream for iterators.
- reOpen() - Method in class ml.shifu.guagua.util.MemoryDiskList
-
Reopen stream for iteration.
- reset() - Method in class ml.shifu.guagua.util.ProgressLock
-
- RETRY_COUNT - Static variable in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Client connection retry count
- RETRY_COUNT - Static variable in class ml.shifu.guagua.util.NetworkUtils
-
Client connection retry count
- retryDelay(int) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Performs a retry delay if this is not the first attempt
- retryExecution() - Method in class ml.shifu.guagua.BasicCoordinator.RetryCoordinatorCommand
-
- retryOperation(GuaguaZooKeeperOperation<T>) - Method in class ml.shifu.guagua.coordinator.zk.GuaguaZooKeeper
-
Perform the given operation, retrying if the connection fails
- run(Progressable) - Method in interface ml.shifu.guagua.GuaguaService
-
Real logic implementation, for example, master and worker iteration logic.
- run(Progressable) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- run() - Method in class ml.shifu.guagua.unit.GuaguaUnitDriver
-
To run master-workers iteration.
- run(Progressable) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- serialize(T) - Method in class ml.shifu.guagua.util.JavaObjectSerializer
-
- serialize(T) - Method in interface ml.shifu.guagua.util.ObjectSerializer
-
Serialize an instance to byte array.
- Serializer<RESULT extends Bytable> - Interface in ml.shifu.guagua.io
-
- setAppId(String) - Method in interface ml.shifu.guagua.GuaguaService
-
App id for whole application.
- setAppId(String) - Method in class ml.shifu.guagua.master.AsyncMasterCoordinator
-
- setAppId(String) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setAppId(String) - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- setAppId(String) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setAttachment(Object) - Method in class ml.shifu.guagua.master.MasterContext
-
- setAttachment(Object) - Method in class ml.shifu.guagua.worker.WorkerContext
-
- setBytes(byte[]) - Method in class ml.shifu.guagua.io.BytableWrapper
-
- setBytesToZNode(String, String, byte[], CreateMode) - Method in class ml.shifu.guagua.BasicCoordinator
-
Set bytes to znode, if bytes is over zookeeper data limit(1MB), use children znodes to store each part.
- setContainerId(String) - Method in interface ml.shifu.guagua.GuaguaService
-
Set the unique container id for master or worker.
- setContainerId(String) - Method in class ml.shifu.guagua.io.BytableWrapper
-
- setContainerId(String) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setContainerId(String) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setCoordinator(InMemoryCoordinator<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setCoordinator(InMemoryCoordinator<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.LocalMasterCoordinator
-
- setCoordinator(InMemoryCoordinator<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setCoordinator(InMemoryCoordinator<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.LocalWorkerCoordinator
-
- setCurrentIteration(int) - Method in class ml.shifu.guagua.io.BytableWrapper
-
- setCurrentIteration(int) - Method in class ml.shifu.guagua.master.AsyncMasterCoordinator
-
- setCurrentIteration(int) - Method in class ml.shifu.guagua.master.MasterContext
-
- setCurrentIteration(int) - Method in class ml.shifu.guagua.worker.AsyncWorkerCoordinator
-
- setCurrentIteration(int) - Method in class ml.shifu.guagua.worker.WorkerContext
-
- setExtension(Object) - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- setFieldValue(String, Class<?>, Object, Object) - Static method in class ml.shifu.guagua.util.ClassUtils
-
Set filed value according to field name, class instance, object instance and field value.
- setFixedTime(boolean) - Method in class ml.shifu.guagua.BasicCoordinator
-
- setHalt(boolean) - Method in class ml.shifu.guagua.io.HaltBytable
-
Set status to halt if isHalt is true.
- setLastMasterResult(MASTER_RESULT) - Method in class ml.shifu.guagua.worker.WorkerContext
-
- setLength(long) - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- setMasterComputable(MasterComputable<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setMasterInterceptors(List<MasterInterceptor<MASTER_RESULT, WORKER_RESULT>>) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setMasterResult(MasterContext<MASTER_RESULT, WORKER_RESULT>, String, String) - Method in class ml.shifu.guagua.master.AbstractMasterCoordinator
-
- setMasterResult(MASTER_RESULT) - Method in class ml.shifu.guagua.master.MasterContext
-
- setMasterResult(WorkerContext<MASTER_RESULT, WORKER_RESULT>, String, String) - Method in class ml.shifu.guagua.worker.AbstractWorkerCoordinator
-
- setMasterResultClassName(String) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setMasterResultClassName(String) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setMasterSerializer(Serializer<MASTER_RESULT>) - Method in class ml.shifu.guagua.BasicCoordinator
-
- setMinWorkersRatio(double) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setMinWorkersTimeOut(long) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setMyBid(String) - Method in class ml.shifu.guagua.master.AbstractMasterCoordinator
-
- setOffset(long) - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- setPath(String) - Method in class ml.shifu.guagua.io.GuaguaFileSplit
-
- setProps(Properties) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setProps(Properties) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setRecordReader(GuaguaRecordReader<KEY, VALUE>) - Method in class ml.shifu.guagua.worker.AbstractCombineWorkerComputable
-
- setRecordReader(GuaguaRecordReader<KEY, VALUE>) - Method in class ml.shifu.guagua.worker.AbstractWorkerComputable
-
- setSerializer(BytableSerializer<T>) - Method in class ml.shifu.guagua.util.BytableDiskList
-
- setSerializer(ObjectSerializer<T>) - Method in class ml.shifu.guagua.util.DiskList
-
- setSleepTime(long) - Method in class ml.shifu.guagua.BasicCoordinator
-
- setSplits(List<GuaguaFileSplit>) - Method in interface ml.shifu.guagua.GuaguaService
-
Assign splits to each worker to make them load that data.
- setSplits(List<GuaguaFileSplit>) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setSplits(List<GuaguaFileSplit>) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setStopMessage(boolean) - Method in class ml.shifu.guagua.io.BytableWrapper
-
- setTotalIteration(int) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setTotalIteration(int) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setup(MasterContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.master.HookMasterComputable
-
Setup method for master computation.
- setUp() - Method in class ml.shifu.guagua.unit.GuaguaUnitDriver
-
- setup(WorkerContext<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.HookWorkerComputable
-
Setup method for master computation.
- setWorkerComputable(WorkerComputable<MASTER_RESULT, WORKER_RESULT>) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setWorkerInterceptors(List<WorkerInterceptor<MASTER_RESULT, WORKER_RESULT>>) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setWorkerResultClassName(String) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setWorkerResultClassName(String) - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- setWorkerResults(MasterContext<MASTER_RESULT, WORKER_RESULT>, String, String, int) - Method in class ml.shifu.guagua.master.AbstractMasterCoordinator
-
Set worker results from znodes.
- setWorkerResults(Iterable<WORKER_RESULT>) - Method in class ml.shifu.guagua.master.MasterContext
-
- setWorkers(int) - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- setWorkerSerializer(Serializer<WORKER_RESULT>) - Method in class ml.shifu.guagua.BasicCoordinator
-
- setZooKeeper(GuaguaZooKeeper) - Method in class ml.shifu.guagua.BasicCoordinator
-
- signal() - Method in class ml.shifu.guagua.util.ProgressLock
-
- signalMaster(int, int, WORKER_RESULT) - Method in class ml.shifu.guagua.InMemoryCoordinator
-
Signal master with result setting.
- signalWorkers(int, MASTER_RESULT) - Method in class ml.shifu.guagua.InMemoryCoordinator
-
Master signals workers with result setting.
- size() - Method in interface ml.shifu.guagua.util.AppendList
-
Return size of this list.
- size() - Method in class ml.shifu.guagua.util.BytableDiskList
-
- size() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
- size() - Method in class ml.shifu.guagua.util.DiskList
-
- size() - Method in class ml.shifu.guagua.util.MemoryDiskList
-
- size() - Method in class ml.shifu.guagua.util.MemoryLimitedList
-
- SizeEstimator - Class in ml.shifu.guagua.util
-
Copied from Apache Spark project to estimate size of a Java instance.
- SizeEstimator() - Constructor for class ml.shifu.guagua.util.SizeEstimator
-
- start() - Method in interface ml.shifu.guagua.GuaguaService
-
Start point for the service.
- start() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
- start() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
- startChildZooKeeperProcess(String) - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Start embed zookeeper server in a child process.
- startEmbedZooKeeper() - Static method in class ml.shifu.guagua.coordinator.zk.ZooKeeperUtils
-
Start embed zookeeper server in a daemon thread.
- startHeartbeat() - Method in class ml.shifu.guagua.BasicCoordinator
-
- stop() - Method in interface ml.shifu.guagua.GuaguaService
-
Stop service, resources cleaning should be added in this function.
- stop() - Method in class ml.shifu.guagua.master.GuaguaMasterService
-
Stop services from interceptors which is used for resource cleaning or servers shutting down.
- stop() - Method in class ml.shifu.guagua.worker.GuaguaWorkerService
-
Stop services from interceptors which is used for resource cleaning or servers shutting down.
- stopHeartBeat() - Method in class ml.shifu.guagua.BasicCoordinator
-
- StringUtils - Class in ml.shifu.guagua.util
-
StringUtils class for string operation.
- switchState() - Method in interface ml.shifu.guagua.util.AppendList
-
After appending, switch state from WRITE to READ to allow iterating.
- switchState() - Method in class ml.shifu.guagua.util.BytableDiskList
-
Switch state from WRITE to READ
- switchState() - Method in class ml.shifu.guagua.util.BytableMemoryDiskList
-
- switchState() - Method in class ml.shifu.guagua.util.DiskList
-
Switch state from WRITE to READ
- switchState() - Method in class ml.shifu.guagua.util.MemoryDiskList
-
- switchState() - Method in class ml.shifu.guagua.util.MemoryLimitedList
-
- SyncCoordinatorFactory<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua
-
Sync coordinator factory to create sync coordinators for master and workers.
- SyncCoordinatorFactory() - Constructor for class ml.shifu.guagua.SyncCoordinatorFactory
-
- SyncMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.master
-
- SyncMasterCoordinator() - Constructor for class ml.shifu.guagua.master.SyncMasterCoordinator
-
- SyncWorkerCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> - Class in ml.shifu.guagua.worker
-
- SyncWorkerCoordinator() - Constructor for class ml.shifu.guagua.worker.SyncWorkerCoordinator
-
- SYSTEM_SEPARATOR - Static variable in class ml.shifu.guagua.util.FileUtils
-
The system separator character.