Package com.sun.sgs.profile

Examples of com.sun.sgs.profile.ProfileConsumer.createOperation()


  setBindingOp = consumer.createOperation("setBinding", type, level);
  removeBindingOp =
            consumer.createOperation("removeBinding", type, level);
  nextBoundNameOp =
            consumer.createOperation("nextBoundName", type, level);
  getClassIdOp = consumer.createOperation("getClassId", type, level);
  getClassInfoOp =
            consumer.createOperation("getClassInfo", type, level);
  nextObjectIdOp =
            consumer.createOperation("nextObjectIdOp", type, level);
       
View Full Code Here


            consumer.createOperation("removeBinding", type, level);
  nextBoundNameOp =
            consumer.createOperation("nextBoundName", type, level);
  getClassIdOp = consumer.createOperation("getClassId", type, level);
  getClassInfoOp =
            consumer.createOperation("getClassInfo", type, level);
  nextObjectIdOp =
            consumer.createOperation("nextObjectIdOp", type, level);
       
        // Counters
  readBytesCounter = consumer.createCounter("readBytes", type, level);
View Full Code Here

                                  "TaskService");
        ProfileLevel level = ProfileLevel.MAX;
        ProfileDataType type = ProfileDataType.TASK_AND_AGGREGATE;
       
        scheduleNDTaskOp =
            consumer.createOperation("scheduleNonDurableTask", type, level);
        scheduleNDTaskDelayedOp =
            consumer.createOperation("scheduleNonDurableTaskDelayed",
                                       type, level);
        scheduleTaskOp =
            consumer.createOperation("scheduleTask", type, level);
View Full Code Here

        ProfileDataType type = ProfileDataType.TASK_AND_AGGREGATE;
       
        scheduleNDTaskOp =
            consumer.createOperation("scheduleNonDurableTask", type, level);
        scheduleNDTaskDelayedOp =
            consumer.createOperation("scheduleNonDurableTaskDelayed",
                                       type, level);
        scheduleTaskOp =
            consumer.createOperation("scheduleTask", type, level);
        scheduleTaskDelayedOp =
            consumer.createOperation("scheduleDelayedTask", type, level);
View Full Code Here

            consumer.createOperation("scheduleNonDurableTask", type, level);
        scheduleNDTaskDelayedOp =
            consumer.createOperation("scheduleNonDurableTaskDelayed",
                                       type, level);
        scheduleTaskOp =
            consumer.createOperation("scheduleTask", type, level);
        scheduleTaskDelayedOp =
            consumer.createOperation("scheduleDelayedTask", type, level);
        scheduleTaskPeriodicOp =
            consumer.createOperation("schedulePeriodicTask", type, level);
    }
View Full Code Here

            consumer.createOperation("scheduleNonDurableTaskDelayed",
                                       type, level);
        scheduleTaskOp =
            consumer.createOperation("scheduleTask", type, level);
        scheduleTaskDelayedOp =
            consumer.createOperation("scheduleDelayedTask", type, level);
        scheduleTaskPeriodicOp =
            consumer.createOperation("schedulePeriodicTask", type, level);
    }
   
    /** {@inheritDoc} */
 
View Full Code Here

        scheduleTaskOp =
            consumer.createOperation("scheduleTask", type, level);
        scheduleTaskDelayedOp =
            consumer.createOperation("scheduleDelayedTask", type, level);
        scheduleTaskPeriodicOp =
            consumer.createOperation("schedulePeriodicTask", type, level);
    }
   
    /** {@inheritDoc} */
    public long getScheduleNonDurableTaskCalls() {
        return ((AggregateProfileOperation) scheduleNDTaskOp).getCount();
View Full Code Here

                                  "ClientSessionService");
        ProfileLevel level = ProfileLevel.MAX;
        ProfileDataType type = ProfileDataType.TASK_AND_AGGREGATE;
       
        registerSessionDisconnectListenerOp =
            consumer.createOperation("registerSessionDisconnectListener",
                                     type, level);
        getSessionProtocolOp =
            consumer.createOperation("getSessionProtocol", type, level);
    }
View Full Code Here

       
        registerSessionDisconnectListenerOp =
            consumer.createOperation("registerSessionDisconnectListener",
                                     type, level);
        getSessionProtocolOp =
            consumer.createOperation("getSessionProtocol", type, level);
    }

    /** {@inheritDoc} */
    public long getRegisterSessionDisconnectListenerCalls() {
        return ((AggregateProfileOperation)
View Full Code Here

        ProfileLevel level = ProfileLevel.MAX;
        ProfileDataType type = ProfileDataType.TASK_AND_AGGREGATE;
       
        // Manager operations
        createChannelOp =
            consumer.createOperation("createChannel", type, level);
        getChannelOp =
            consumer.createOperation("getChannel", type, level);
    }

    /** {@inheritDoc} */
 
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.