\hypertarget{classDeleteAllNodes}{
\section{DeleteAllNodes$<$ A $>$ Class Template Reference}
\label{classDeleteAllNodes}\index{DeleteAllNodes@{DeleteAllNodes}}
}


Delete nodes in \hyperlink{protocolthe-p}{the} cache table trie.  




{\ttfamily \#include $<$route\_\-table\_\-cache.hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDeleteAllNodes_a602b303bec6685e7f4e3f9bd671ee86b}{
typedef \hyperlink{classRefTrie}{RefTrie}$<$ A, const \hyperlink{classCacheRoute}{CacheRoute}$<$ A $>$ $>$ {\bfseries RouteTable}}
\label{classDeleteAllNodes_a602b303bec6685e7f4e3f9bd671ee86b}

\item 
\hypertarget{classDeleteAllNodes_abb0566db5c243542cfbead330641f798}{
typedef queue$<$ \hyperlink{classRefTrie}{RouteTable} $\ast$ $>$ {\bfseries RouteTables}}
\label{classDeleteAllNodes_abb0566db5c243542cfbead330641f798}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDeleteAllNodes_a8d9ec22dfbea5410176f45f747cd6bb0}{
{\bfseries DeleteAllNodes} (const \hyperlink{classPeerHandler}{PeerHandler} $\ast$peer, \hyperlink{classRefTrie}{RouteTable} $\ast$route\_\-table)}
\label{classDeleteAllNodes_a8d9ec22dfbea5410176f45f747cd6bb0}

\item 
bool \hyperlink{classDeleteAllNodes_a434785e663a07ec5b904b93f433261e7}{delete\_\-some\_\-nodes} ()
\begin{DoxyCompactList}\small\item\em Background task that deletes nodes in trie. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static bool \hyperlink{classDeleteAllNodes_a81a352b93e6b773b6c1f4f583e43137b}{running} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDeleteAllNodes_a0a64305ece9331dd25c76f8751a13af6}{
\hyperlink{classXorpTask}{XorpTask} {\bfseries \_\-deleter\_\-task}}
\label{classDeleteAllNodes_a0a64305ece9331dd25c76f8751a13af6}

\item 
\hypertarget{classDeleteAllNodes_a4563e5124d3eb53783e8f0e575e8210e}{
const \hyperlink{classPeerHandler}{PeerHandler} $\ast$ {\bfseries \_\-peer}}
\label{classDeleteAllNodes_a4563e5124d3eb53783e8f0e575e8210e}

\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDeleteAllNodes_a35e7d630a01a9533d106887a08e1179c}{
static RouteTables {\bfseries \_\-route\_\-tables}}
\label{classDeleteAllNodes_a35e7d630a01a9533d106887a08e1179c}

\item 
\hypertarget{classDeleteAllNodes_a0169a26611ff8820dddb185587a770ef}{
static int {\bfseries \_\-deletions\_\-per\_\-call} = 1000}
\label{classDeleteAllNodes_a0169a26611ff8820dddb185587a770ef}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class A$>$ class DeleteAllNodes$<$ A $>$}

Delete nodes in \hyperlink{protocolthe-p}{the} cache table trie. Only one instance of this class exists at any time. 

\subsection{Member Function Documentation}
\hypertarget{classDeleteAllNodes_a434785e663a07ec5b904b93f433261e7}{
\index{DeleteAllNodes@{DeleteAllNodes}!delete\_\-some\_\-nodes@{delete\_\-some\_\-nodes}}
\index{delete\_\-some\_\-nodes@{delete\_\-some\_\-nodes}!DeleteAllNodes@{DeleteAllNodes}}
\subsubsection[{delete\_\-some\_\-nodes}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A $>$ bool {\bf DeleteAllNodes}$<$ A $>$::delete\_\-some\_\-nodes (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDeleteAllNodes_a434785e663a07ec5b904b93f433261e7}


Background task that deletes nodes in trie. 

\begin{DoxyReturn}{Returns}
true if there are routes to delete. 
\end{DoxyReturn}
\hypertarget{classDeleteAllNodes_a81a352b93e6b773b6c1f4f583e43137b}{
\index{DeleteAllNodes@{DeleteAllNodes}!running@{running}}
\index{running@{running}!DeleteAllNodes@{DeleteAllNodes}}
\subsubsection[{running}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A $>$ static bool {\bf DeleteAllNodes}$<$ A $>$::running (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{classDeleteAllNodes_a81a352b93e6b773b6c1f4f583e43137b}
\begin{DoxyReturn}{Returns}
true if route tables exist and are still being deleted. 
\end{DoxyReturn}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/bgp/route\_\-table\_\-cache.hh\item 
/home/greearb/git/xorp.ct.github/xorp/bgp/route\_\-table\_\-cache.cc\end{DoxyCompactItemize}
