public void saveLOBFile ( Key key , File lobFile ) { try { FileInputStream fis = new FileInputStream ( lobFile ) ; Version version = kvStore . putLOB ( key , fis , client . getDurability ( ) , client . getTimeout ( ) , client . getTimeUnit ( ) ) ; } catch ( FileNotFoundException e ) { log . warn ( "Unable to find file " + lobFile + ". This is being omitted, Caused by:" + e + "." ) ; } catch ( IOException e ) { log . warn ( "IOException while writing file " + lobFile + ". This is being omitted. Caused by:" + e + "." ) ; } }
Saves LOB file to Oracle KV Store