void clear ( ) { // A VoltDB extension to diagnose ArrayOutOfBounds. if ( linkTable != null ) { voltDBclearCapacity = linkTable . length ; } ++ voltDBclearCount ; voltDBlastClearEvent = voltDBhistoryDepth ; // End of VoltDB extension int to = linkTable . length ; int [ ] intArray = linkTable ; while ( -- to >= 0 ) { intArray [ to ] = 0 ; } resetTables ( ) ; }
Reset the index as empty .