#include <db_cxx.h> int DbSequence::set_cachesize(int32_t size);
Configure the number of elements cached by a sequence handle.
         The DbSequence::set_cachesize() method may not be called after the
         DbSequence::open() 
         method is called.
    
         The DbSequence::set_cachesize() 
            
            
                method either returns a non-zero error value or throws an
                exception that encapsulates a non-zero error value on
                failure, and returns 0 on success.
            
        
    
                         The DbSequence::set_cachesize() 
            
            
                method may fail and throw a DbException 
                exception, encapsulating one of the following non-zero errors, or return one
                of the following non-zero errors: