Examples of MakePersistentOperation


Examples of org.xtreemfs.babudb.replication.proxy.operations.MakePersistentOperation

     * @param dbs - interface for local BabuDB operations.
     */
    public ProxyRequestHandler(BabuDBInterface dbs, int maxQ) {
        super(maxQ);
       
        Operation op = new MakePersistentOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new GetDatabaseByNameOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new GetDatabaseByIdOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new GetDatabasesOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new LookupOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new PrefixLookupOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new PrefixLookupReverseOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new RangeLookupOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        op = new RangeLookupReverseOperation(dbs);
        operations.put(op.getProcedureId(), op);
       
        // enable message queuing
        enableQueuing();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.