public boolean putLocally(final Integer bucketId,final EntryEventImpl event,boolean ifNew,boolean ifOld,Object expectedOldValue,boolean requireOldValue,final long lastModified) throws PrimaryBucketException, ForceReattemptException {
  final BucketRegion br=getInitializedBucketForId(event.getKey(),bucketId);
  return putLocally(br,event,ifNew,ifOld,expectedOldValue,requireOldValue,lastModified);
}

public boolean putLocally ( final Integer bucketId , final EntryEventImpl event , boolean ifNew , boolean ifOld , Object expectedOldValue , boolean requireOldValue , final long lastModified ) throws PrimaryBucketException , ForceReattemptException { final BucketRegion br = getInitializedBucketForId ( event . getKey ( ) , bucketId ) ; return putLocally ( br , event , ifNew , ifOld , expectedOldValue , requireOldValue , lastModified ) ; }
puts the object with the given key locally . < br > step : < br > 1 ) it finds out the bucket region for the bucket id . < br > 2 ) if from step 1 it gets null , that means the bucket is re - mapped . < br > 3 ) if it finds the bucket region from step 1 , it tries to put the key - value on the region . < br > 4 ) updatebucket2size if bucket is on more than 1 node or else bucket listeners would take care of size update . < br >
