|
|
@ -5,6 +5,7 @@ import com.fr.config.holder.factory.Holders; |
|
|
|
import com.fr.data.impl.AbstractDatabaseConnection; |
|
|
|
import com.fr.data.impl.AbstractDatabaseConnection; |
|
|
|
import com.fr.data.impl.Connection; |
|
|
|
import com.fr.data.impl.Connection; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
|
|
|
|
import com.fr.locale.InterProviderFactory; |
|
|
|
import com.fr.security.SecurityToolbox; |
|
|
|
import com.fr.security.SecurityToolbox; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
@ -94,9 +95,9 @@ public class RedisDatabaseConnection extends AbstractDatabaseConnection { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String connectMessage(boolean status) { |
|
|
|
public String connectMessage(boolean status) { |
|
|
|
if (status) { |
|
|
|
if (status) { |
|
|
|
return Inter.getLocText("Datasource-Connection_successfully") + "!"; |
|
|
|
return InterProviderFactory.getProvider().getLocText("Plugin-Redis_Connection_Successfully") + "!"; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
return Inter.getLocText("Datasource-Connection_failed") + "!"; |
|
|
|
return InterProviderFactory.getProvider().getLocText("Plugin-Redis_Connection_Failed") + "!"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|