NewPartitionHandle creates a PartitionHandle from a normal handle and a pid.
(pid int64, h Handle)
| 712 | |
| 713 | // NewPartitionHandle creates a PartitionHandle from a normal handle and a pid. |
| 714 | func NewPartitionHandle(pid int64, h Handle) PartitionHandle { |
| 715 | return PartitionHandle{ |
| 716 | Handle: h, |
| 717 | PartitionID: pid, |
| 718 | } |
| 719 | } |
| 720 | |
| 721 | // Copy implements the Handle interface. |
| 722 | func (ph PartitionHandle) Copy() Handle { |
no outgoing calls