private int getTargetObjectShardNumber ( String targetObjID ) { int targetShardNo = 0 ; if ( m_invTableDef . isSharded ( ) && m_targetObjShardNos != null && m_targetObjShardNos . containsKey ( targetObjID ) ) { targetShardNo = m_targetObjShardNos . get ( targetObjID ) ; } return targetShardNo ; }
Get the shard number of the target object ID if cached .