@ Override public final synchronized int writePage ( P page ) { int pageid = setPageID ( page ) ; writePage ( pageid , page ) ; return pageid ; }
Writes a page into this file . The method tests if the page has already an id otherwise a new id is assigned and returned .