Functions | Variables

ClusterLib.cc File Reference

A brief file description. More...

#include "P_Cluster.h"
Include dependency graph for ClusterLib.cc:

Go to the source code of this file.

Functions

void cluster_schedule (ClusterHandler *ch, ClusterVConnection *vc, ClusterVConnState *ns)
void cluster_reschedule_offset (ClusterHandler *ch, ClusterVConnection *vc, ClusterVConnState *ns, int offset)
IOBufferBlockclone_IOBufferBlockList (IOBufferBlock *b, int start_off, int n, IOBufferBlock **b_tail)
IOBufferBlockconsume_IOBufferBlockList (IOBufferBlock *b, int64_t n)
int64_t bytes_IOBufferBlockList (IOBufferBlock *b, int64_t read_avail_bytes)
void dump_time_buckets ()

Variables

unsigned int cluster_sequence_number = 0
int time_trace = 0

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file ClusterLib.cc.


Function Documentation

int64_t bytes_IOBufferBlockList ( IOBufferBlock b,
int64_t  read_avail_bytes 
)
IOBufferBlock* clone_IOBufferBlockList ( IOBufferBlock b,
int  start_off,
int  n,
IOBufferBlock **  b_tail 
)
void cluster_reschedule_offset ( ClusterHandler ch,
ClusterVConnection vc,
ClusterVConnState ns,
int  offset 
)
void cluster_schedule ( ClusterHandler ch,
ClusterVConnection vc,
ClusterVConnState ns 
)
IOBufferBlock* consume_IOBufferBlockList ( IOBufferBlock b,
int64_t  n 
)
void dump_time_buckets (  ) 

Definition at line 283 of file ClusterLib.cc.

Referenced by GlobalClusterPeriodicEvent::calloutEvent().


Variable Documentation

unsigned int cluster_sequence_number = 0

Definition at line 72 of file ClusterLib.cc.

Referenced by ClusterVCToken::alloc().

int time_trace = 0

Definition at line 280 of file ClusterLib.cc.