@ Override public Data readBackupData ( Data key ) { Record record = getRecord ( key ) ; if ( record == null ) { return null ; } else { if ( partitionService . isPartitionOwner ( partitionId ) ) { // set last access time to prevent // premature removal of the entry because // of idleness based expiry record . setLastAccessTime ( Clock . currentTimeMillis ( ) ) ; } } Object value = record . getValue ( ) ; mapServiceContext . interceptAfterGet ( name , value ) ; // this serialization step is needed not to expose the object, see issue 1292 return mapServiceContext . toData ( value ) ; }
This method is called directly by user threads in other words it is called outside of the partition threads .