Hi Michael,

Thanks for quick response.

-----Original Message-----
From: Michael Dürig [mailto:[email protected]] 
Sent: Tuesday, November 8, 2016 1:27 PM
To: [email protected]
Subject: Re: Deprecated classes SegmentNodeStore, segment.SegmentStore and 
segment.file.FileStore


Hi Abdul,

The oak-segment module has been deprecated as a whole and replaced by 
oak-segment-tar. To map to the new classes just remove "plugins" from the fully 
qualified name. E.g. 
org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore becomes 
org.apache.jackrabbit.oak.segment.SegmentNodeStore.

The main reason for the change in package names is to easy migration: 
the migration tool in oak-upgrade needs to be able to load classes from both, 
the deprecated and the new implementation.

Michael



On 8.11.16 8:47 , Abdul Pathan wrote:
> Hi All,
> Could you please suggestion to replacement of following deprecated classes of 
> Oak:
>
> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore;
> import org.apache.jackrabbit.oak.plugins.segment.SegmentStore;
> import org.apache.jackrabbit.oak.plugins.segment.file.FileStore;
>
> Regards,
> Abdul Pathan
>
>

Reply via email to