public int submitSingle ( T item ) { if ( Objects . isNull ( item ) ) return 0 ; synchronized ( this . dataList ) { this . dataList . add ( item ) ; setLastDataTimestamp ( ) ; if ( this . dataList . size ( ) >= this . bulkSize ) flush ( ) ; return 1 ; } }
Submit single int .