\hypertarget{structev__token__bucket}{\section{ev\+\_\+token\+\_\+bucket Struct Reference}
\label{structev__token__bucket}\index{ev\+\_\+token\+\_\+bucket@{ev\+\_\+token\+\_\+bucket}}
}


A token bucket is an internal structure that tracks how many bytes we are currently willing to read or write on a given bufferevent or group of bufferevents.  




{\ttfamily \#include $<$ratelim-\/internal.\+h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structev__token__bucket_a25597241ef44a146e6f4ee16aa364470}{ev\+\_\+ssize\+\_\+t \hyperlink{structev__token__bucket_a25597241ef44a146e6f4ee16aa364470}{read\+\_\+limit}}\label{structev__token__bucket_a25597241ef44a146e6f4ee16aa364470}

\begin{DoxyCompactList}\small\item\em How many bytes are we willing to read or write right now? These values are signed so that we can do \char`\"{}defecit spending\char`\"{}. \end{DoxyCompactList}\item 
\hypertarget{structev__token__bucket_a3f71fc8742913141e78f3495983175fe}{ev\+\_\+ssize\+\_\+t {\bfseries write\+\_\+limit}}\label{structev__token__bucket_a3f71fc8742913141e78f3495983175fe}

\item 
ev\+\_\+uint32\+\_\+t \hyperlink{structev__token__bucket_a33258d77678f877954d1d56f1910865d}{last\+\_\+updated}
\begin{DoxyCompactList}\small\item\em When was this bucket last updated? Measured in abstract 'ticks' relative to the token bucket configuration. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A token bucket is an internal structure that tracks how many bytes we are currently willing to read or write on a given bufferevent or group of bufferevents. 

\subsection{Field Documentation}
\hypertarget{structev__token__bucket_a33258d77678f877954d1d56f1910865d}{\index{ev\+\_\+token\+\_\+bucket@{ev\+\_\+token\+\_\+bucket}!last\+\_\+updated@{last\+\_\+updated}}
\index{last\+\_\+updated@{last\+\_\+updated}!ev\+\_\+token\+\_\+bucket@{ev\+\_\+token\+\_\+bucket}}
\subsubsection[{last\+\_\+updated}]{\setlength{\rightskip}{0pt plus 5cm}ev\+\_\+uint32\+\_\+t ev\+\_\+token\+\_\+bucket\+::last\+\_\+updated}}\label{structev__token__bucket_a33258d77678f877954d1d56f1910865d}


When was this bucket last updated? Measured in abstract 'ticks' relative to the token bucket configuration. 



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
opal/mca/event/libevent2013/libevent/ratelim-\/internal.\+h\end{DoxyCompactItemize}
