Search in sources :

Example 11 with TableDataManager

use of com.linkedin.pinot.core.data.manager.offline.TableDataManager in project pinot by linkedin.

the class HelixInstanceDataManager method shutDown.

@Override
public synchronized void shutDown() {
    if (isStarted()) {
        for (TableDataManager tableDataManager : getTableDataManagers()) {
            tableDataManager.shutDown();
        }
        _isStarted = false;
        LOGGER.info("InstanceDataManager is shutDown!");
    } else {
        LOGGER.warn("InstanceDataManager is already shutDown, won't do anything!");
    }
}
Also used : TableDataManager(com.linkedin.pinot.core.data.manager.offline.TableDataManager)

Aggregations

TableDataManager (com.linkedin.pinot.core.data.manager.offline.TableDataManager)11 SegmentDataManager (com.linkedin.pinot.core.data.manager.offline.SegmentDataManager)5 ApiOperation (io.swagger.annotations.ApiOperation)4 ApiResponses (io.swagger.annotations.ApiResponses)4 GET (javax.ws.rs.GET)4 Path (javax.ws.rs.Path)4 Produces (javax.ws.rs.Produces)4 InstanceDataManager (com.linkedin.pinot.core.data.manager.offline.InstanceDataManager)3 WebApplicationException (javax.ws.rs.WebApplicationException)3 ArrayList (java.util.ArrayList)2 QueryException (com.linkedin.pinot.common.exception.QueryException)1 TimerContext (com.linkedin.pinot.common.query.context.TimerContext)1 BrokerRequest (com.linkedin.pinot.common.request.BrokerRequest)1 InstanceRequest (com.linkedin.pinot.common.request.InstanceRequest)1 SegmentSizeInfo (com.linkedin.pinot.common.restlet.resources.SegmentSizeInfo)1 TableSegments (com.linkedin.pinot.common.restlet.resources.TableSegments)1 TableSizeInfo (com.linkedin.pinot.common.restlet.resources.TableSizeInfo)1 TablesList (com.linkedin.pinot.common.restlet.resources.TablesList)1 DataTable (com.linkedin.pinot.common.utils.DataTable)1 DataTableImplV2 (com.linkedin.pinot.core.common.datatable.DataTableImplV2)1