about summary refs log tree commit diff stats
path: root/data/maps/the_sirenic/metadata.txtpb
blob: 19e26a38c78d4c8a872f34a858b4439ea67a4c4f (plain) (blame)
1
display_name: "The Sirenic"
ight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.fourisland.instadisc.Database;

import com.sleepycat.je.DatabaseException;
import com.sleepycat.je.Environment;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author hatkirby
 */
public class CloseEnvironmentThread implements Runnable{

    Environment svr;

    public CloseEnvironmentThread(Environment e) {
        svr = e;
    }

    public void run() {
        try {
            svr.cleanLog();
            svr.close();
        } catch (DatabaseException ex) {
            Logger.getLogger(CloseEnvironmentThread.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}