public void insert ( EventRecord er ) { SerializedRecord sr = new SerializedRecord ( er ) ; try { Anonymizer . anonymize ( sr ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } append ( sr ) ; }
Insert an EventRecord to the local storage after it gets serialized and anonymized .