Knee operation

Patient: Iv e been told that i need a operation in my knee which will be for the doctor to snap my knee in half and replace the cartlidge and put pins in each side , will i be left with a plastercast on and how long will the recovery take , thankyou .