public Object insert(Page page) throws StorageException {
        try {
            if (getBacklinks && page.isAuth()) {
                frontierManager.insertBacklinks(page);
            }

            if (getBacklinks) {
                if (page.isHub()) {
                    frontierManager.insertOutlinks(page);
                }
            } else {
                if (getOutlinks) {
                    frontierManager.insertOutlinks(page);
                }
            }

            if (onlineLearning != null) {
                onlineLearning.notifyPageCrawled(page);
            }
            
        } catch (Exception ex) {
            logger.info("Failed to insert page into LinkStorage.", ex);
            throw new StorageException(ex.getMessage(), ex);
        }
        return null;
    }
This method inserts links from a given page into the frontier

@param obj
           Object - page containing links
@return Object
ache/src/main/java/achecrawler/link/LinkStorage.java