broadcast
aims to share a table in one worker with others. All workers should run it concurrently. The defination of the method is:
boolean broadcast(String contextName, String operationName, Table<P> table, int bcastWorkerID, boolean useMSTBcast, DataMap dataMap, Workers workers)
contextName
— the name of the contextoperationName
— the name of the operationtable
— the name of the data tablebcastWorkerID
— the ID of the worker which broadcastsuseMSTBcast
— whether use MST method or notdataMap
— the data mapworkers
— the workers
Example
broadcast(contextName, "chain-array-table-bcast-" + i, arrTable, workers.getMasterID(), false, dataMap, workers);