slumberdb/slumberdb-service-model/src/main/java/org/boon/slumberdb/service/server/RequestHandler.java
@ServiceMethod
    public void mainRequestHandler(DataStoreRequest dataStoreRequest) {


        if (verbose || debug) {
            logger.info("RequestHandler::mainRequestHandler", dataStoreRequest);
        }
        switch (dataStoreRequest.action()) {
            case GET:
                masterDataStore.get((GetRequest) dataStoreRequest);
                break;
            case GET_LOCAL_DB:
                handleGetLocalDbVerb(dataStoreRequest);
                break;
            case GET_MEM:
                handleGetMemVerb(dataStoreRequest);
                break;
            case SET:
                masterDataStore.set((SetRequest) dataStoreRequest);
                break;
            case SET_BROADCAST:
                handleSetAndBroadCastVerb(dataStoreRequest);
                break;
            case SET_IF_NOT_EXIST:
                handleSetIfNotExistsVerb(dataStoreRequest);
                break;
            case SET_BATCH:
                handleSetBatch(dataStoreRequest);
                break;
            case SET_BATCH_IF_NOT_EXISTS:
                handleSetBatchIfNotExists(dataStoreRequest);
                break;
            case SET_SOURCE:
                handleSetSource(dataStoreRequest);
                break;
            case GET_SOURCE:
                handleGetSource(dataStoreRequest);
                break;

            case BATCH_READ:
                handleBatchRead(dataStoreRequest);
                break;

            case CLEAR_STATS:
                handleClearStats(dataStoreRequest);
                break;


            case GET_STATS:
                handleGetStats(dataStoreRequest);
                break;


            case REMOVE:
                handleRemove(dataStoreRequest);
                break;


            case REMOVE_SOURCE:
                handleRemoveSource(dataStoreRequest);
                break;

            case METHOD_CALL:
                handleMethodCall((MethodCall) dataStoreRequest);
                break;

            case SEARCH:
                handleSearchVerb(dataStoreRequest);
                break;

            default:
                puts(dataStoreRequest);


        }
        trackCall(dataStoreRequest.action());
    }
@ServiceMethod
    public void mainRequestHandler(DataStoreRequest dataStoreRequest) {


        if (verbose || debug) {
            logger.info("RequestHandler::mainRequestHandler", dataStoreRequest);
        }
        switch (dataStoreRequest.action()) {
            case GET:
                masterDataStore.get((GetRequest) dataStoreRequest);
                break;
            case GET_LOCAL_DB:
                handleGetLocalDbVerb(dataStoreRequest);
                break;
            case GET_MEM:
                handleGetMemVerb(dataStoreRequest);
                break;
            case SET:
                masterDataStore.set((SetRequest) dataStoreRequest);
                break;
            case SET_BROADCAST:
                handleSetAndBroadCastVerb(dataStoreRequest);
                break;
            case SET_IF_NOT_EXIST:
                handleSetIfNotExistsVerb(dataStoreRequest);
                break;
            case SET_BATCH:
                handleSetBatch(dataStoreRequest);
                break;
            case SET_BATCH_IF_NOT_EXISTS:
                handleSetBatchIfNotExists(dataStoreRequest);
                break;
            case SET_SOURCE:
                handleSetSource(dataStoreRequest);
                break;
            case GET_SOURCE:
                handleGetSource(dataStoreRequest);
                break;

            case BATCH_READ:
                handleBatchRead(dataStoreRequest);
                break;

            case CLEAR_STATS:
                handleClearStats(dataStoreRequest);
                break;


            case GET_STATS:
                handleGetStats(dataStoreRequest);
                break;


            case REMOVE:
                handleRemove(dataStoreRequest);
                break;


            case REMOVE_SOURCE:
                handleRemoveSource(dataStoreRequest);
                break;

            case METHOD_CALL:
                handleMethodCall((MethodCall) dataStoreRequest);
                break;

            case SEARCH:
                handleSearchVerb(dataStoreRequest);
                break;

            default:
                puts(dataStoreRequest);


        }
        trackCall(dataStoreRequest.action());
    }
@ ServiceMethod public void mainRequestHandler ( DataStoreRequest dataStoreRequest ) { if ( verbose || debug ) { logger . info ( "RequestHandler::mainRequestHandler" , dataStoreRequest ) ; } switch ( dataStoreRequest . action ( ) ) { case GET : masterDataStore . get ( ( GetRequest ) dataStoreRequest ) ; break ; case GET_LOCAL_DB : handleGetLocalDbVerb ( dataStoreRequest ) ; break ; case GET_MEM : handleGetMemVerb ( dataStoreRequest ) ; break ; case SET : masterDataStore . set ( ( SetRequest ) dataStoreRequest ) ; break ; case SET_BROADCAST : handleSetAndBroadCastVerb ( dataStoreRequest ) ; break ; case SET_IF_NOT_EXIST : handleSetIfNotExistsVerb ( dataStoreRequest ) ; break ; case SET_BATCH : handleSetBatch ( dataStoreRequest ) ; break ; case SET_BATCH_IF_NOT_EXISTS : handleSetBatchIfNotExists ( dataStoreRequest ) ; break ; case SET_SOURCE : handleSetSource ( dataStoreRequest ) ; break ; case GET_SOURCE : handleGetSource ( dataStoreRequest ) ; break ; case BATCH_READ : handleBatchRead ( dataStoreRequest ) ; break ; case CLEAR_STATS : handleClearStats ( dataStoreRequest ) ; break ; case GET_STATS : handleGetStats ( dataStoreRequest ) ; break ; case REMOVE : handleRemove ( dataStoreRequest ) ; break ; case REMOVE_SOURCE : handleRemoveSource ( dataStoreRequest ) ; break ; case METHOD_CALL : handleMethodCall ( ( MethodCall ) dataStoreRequest ) ; break ; case SEARCH : handleSearchVerb ( dataStoreRequest ) ; break ; default : puts ( dataStoreRequest ) ; } trackCall ( dataStoreRequest . action ( ) ) ; }
Main entry into system.
<p/>
<p/>
<p/>
If you are debugging something not coming into the system.
<p/>
Start here!
Main entry into system . <p / > <p / > <p / > If you are debugging something not coming into the system . <p / > Start here!